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