diff --git a/app/assets/javascripts/components/cdx_select_autocomplete.js.jsx b/app/assets/javascripts/components/cdx_select_autocomplete.js.jsx index e94b34390..b4fa8ec9a 100644 --- a/app/assets/javascripts/components/cdx_select_autocomplete.js.jsx +++ b/app/assets/javascripts/components/cdx_select_autocomplete.js.jsx @@ -1,6 +1,8 @@ var CdxSelectAutocomplete = React.createClass({ - componentWillMount: function () { - this.asyncOptions = _.debounce(this.asyncOptions.bind(this), 100, { maxWait: 250 }); + getDefaultProps: function() { + return { + className: "input-large" + }; }, getInitialState: function () { @@ -9,6 +11,10 @@ var CdxSelectAutocomplete = React.createClass({ }; }, + componentWillMount: function () { + this.asyncOptions = _.debounce(this.asyncOptions.bind(this), 100, { maxWait: 250 }); + }, + // Since