modules/ui/fields/combo.js
// (for multiCombo, dval should be the key suffix, not the entire key)
(for multiCombo, dval should be the key suffix, not the entire key)
( for multiCombo dval should be the key suffix not the entire key )
function tagValue(dval) {
        dval = clean(dval || '');
        if (optstrings) {
            var found = _comboData.find(function(o) {
                return o.key && clean(o.value) === dval;
            });
            if (found) {
                return found.key;
            }
        }
        if (field.type === 'typeCombo' && !dval) {
            return 'yes';
        }
        return (snake_case ? snake(dval) : dval) || undefined;
    }
function tagValue ( dval ) { dval = clean ( dval || '' ) ; if ( optstrings ) { var found = _comboData . find ( function ( o ) { return o . key && clean ( o . value ) === dval ; } ) ; if ( found ) { return found . key ; } } if ( field . type === 'typeCombo' && ! dval ) { return 'yes' ; } return ( snake_case ? snake ( dval ) : dval ) || undefined ; }
(for multiCombo, dval should be the key suffix, not the entire key)
( for multiCombo dval should be the key suffix not the entire key )