src/js/picker.js
function(val) {
                // sanitize first
                var _val = this.getValid(val);
                if (_val !== false) {
                    this.pickerValue = _val;
                    this._trigger('pickerSetValue', {
                        pickerValue: _val
                    });
                    return this.pickerValue;
                } else {
                    this._trigger('pickerInvalid', {
                        pickerValue: val
                    });
                    return false;
                }
            }
function(val) {
                // sanitize first
                var _val = this.getValid(val);
                if (_val !== false) {
                    this.pickerValue = _val;
                    this._trigger('pickerSetValue', {
                        pickerValue: _val
                    });
                    return this.pickerValue;
                } else {
                    this._trigger('pickerInvalid', {
                        pickerValue: val
                    });
                    return false;
                }
            }
function ( val ) { // sanitize first var _val = this . getValid ( val ) ; if ( _val !== false ) { this . pickerValue = _val ; this . _trigger ( 'pickerSetValue' , { pickerValue : _val } ) ; return this . pickerValue ; } else { this . _trigger ( 'pickerInvalid' , { pickerValue : val } ) ; return false ; } }
Sets the internal item value and updates everything, excepting the input or element.
For doing so, call setSourceValue() or update() instead
Sets the internal item value and updates everything excepting the input or element . For doing so call setSourceValue () or update () instead