dist/js/materialize.js
function FormSelect(el, options) {
      _classCallCheck(this, FormSelect);

      // Don't init if browser default version
      var _this68 = _possibleConstructorReturn(this, (FormSelect.__proto__ || Object.getPrototypeOf(FormSelect)).call(this, FormSelect, el, options));

      if (_this68.$el.hasClass('browser-default')) {
        return _possibleConstructorReturn(_this68);
      }

      _this68.el.M_FormSelect = _this68;

      /**
       * Options for the select
       * @member FormSelect#options
       */
      _this68.options = $.extend({}, FormSelect.defaults, options);

      _this68.isMultiple = _this68.$el.prop('multiple');

      // Setup
      _this68.el.tabIndex = -1;
      _this68._keysSelected = {};
      _this68._valueDict = {}; // Maps key to original and generated option element.
      _this68._setupDropdown();

      _this68._setupEventHandlers();
      return _this68;
    }
function FormSelect(el, options) {
      _classCallCheck(this, FormSelect);

      // Don't init if browser default version
      var _this68 = _possibleConstructorReturn(this, (FormSelect.__proto__ || Object.getPrototypeOf(FormSelect)).call(this, FormSelect, el, options));

      if (_this68.$el.hasClass('browser-default')) {
        return _possibleConstructorReturn(_this68);
      }

      _this68.el.M_FormSelect = _this68;

      /**
       * Options for the select
       * @member FormSelect#options
       */
      _this68.options = $.extend({}, FormSelect.defaults, options);

      _this68.isMultiple = _this68.$el.prop('multiple');

      // Setup
      _this68.el.tabIndex = -1;
      _this68._keysSelected = {};
      _this68._valueDict = {}; // Maps key to original and generated option element.
      _this68._setupDropdown();

      _this68._setupEventHandlers();
      return _this68;
    }
function FormSelect ( el , options ) { _classCallCheck ( this , FormSelect ) ; // Don't init if browser default version var _this68 = _possibleConstructorReturn ( this , ( FormSelect . __proto__ || Object . getPrototypeOf ( FormSelect ) ) . call ( this , FormSelect , el , options ) ) ; if ( _this68 . $el . hasClass ( 'browser-default' ) ) { return _possibleConstructorReturn ( _this68 ) ; } _this68 . el . M_FormSelect = _this68 ; /**
       * Options for the select
       * @member FormSelect#options
       */ _this68 . options = $ . extend ( { } , FormSelect . defaults , options ) ; _this68 . isMultiple = _this68 . $el . prop ( 'multiple' ) ; // Setup _this68 . el . tabIndex = - 1 ; _this68 . _keysSelected = { } ; _this68 . _valueDict = { } ; // Maps key to original and generated option element. _this68 . _setupDropdown ( ) ; _this68 . _setupEventHandlers ( ) ; return _this68 ; }
Construct FormSelect instance
@constructor
@param {Element} el
@param {Object} options
Construct FormSelect instance