function(val) {
                val = this.setValue(val);
                if ((val !== false) && (val !== '')) {
                    if (this.hasInput()) {
                        this.input.val(this.getValue());
                    } else {
                        this.element.data('pickerValue', this.getValue());
                    }
                    this._trigger('pickerSetSourceValue', {
                        pickerValue: val
                    });
                }
                return val;
            }
function(val) {
                val = this.setValue(val);
                if ((val !== false) && (val !== '')) {
                    if (this.hasInput()) {
                        this.input.val(this.getValue());
                    } else {
                        this.element.data('pickerValue', this.getValue());
                    }
                    this._trigger('pickerSetSourceValue', {
                        pickerValue: val
                    });
                }
                return val;
            }
function ( val ) { val = this . setValue ( val ) ; if ( ( val !== false ) && ( val !== '' ) ) { if ( this . hasInput ( ) ) { this . input . val ( this . getValue ( ) ) ; } else { this . element . data ( 'pickerValue' , this . getValue ( ) ) ; } this . _trigger ( 'pickerSetSourceValue' , { pickerValue : val } ) ; } return val ; }
Calls setValue and if it's a valid item value, sets the input or element value
Calls setValue and if it s a valid item value sets the input or element value