This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
import Formsy from 'formsy-react'; | |
import ReactSelect from 'react-select'; | |
import './Select.less'; | |
const Select = React.createClass({ | |
mixins: [Formsy.Mixin], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// To be used like this: | |
// | |
// | |
// {{debounced-input | |
// placeholder="1000000" | |
// value=propertyName | |
// debounceWait=300 <-- debounce wait value | |
// fireAtStart=false <-- corresponds to Ember.run.debounce’s 4th param, if false, will run at the end of wait period | |
// class="form-control" <-- all regular text input attributes work |