media/js/vendor/selectize/selectize.js
function() {
			var invalid, self = this;
			if (self.isRequired) {
				if (self.items.length) self.isInvalid = false;
				self.$control_input.prop('required', invalid);
			}
			self.refreshClasses();
		}
function() {
			var invalid, self = this;
			if (self.isRequired) {
				if (self.items.length) self.isInvalid = false;
				self.$control_input.prop('required', invalid);
			}
			self.refreshClasses();
		}
function ( ) { var invalid , self = this ; if ( self . isRequired ) { if ( self . items . length ) self . isInvalid = false ; self . $control_input . prop ( 'required' , invalid ) ; } self . refreshClasses ( ) ; }
Updates all state-dependent attributes
and CSS classes.
Updates all state - dependent attributes and CSS classes .