className | String | | additional css class of root dom node |
filterOption | | true|Function(inputValue:string, option:Option) | whether filter options by input value. default filter by option's optionFilterProp prop's value |
optionLabelProp | String | value | which prop value of option will render as content of select |
optionFilterProp | String | value | which prop value of option will be used for filter if filterOption is true |
showSearch | Boolean | true | whether show search input in single mode |
onSearch | Function | | called when input changed |
disabled | Boolean | false | whether disabled select |
animation | String | | dropdown animation name. only support slide-up now |
transitionName | String | | dropdown css animation name |
value | String | Array | | specify the selected option(s) |
defaultValue | String | Array | | specify the default selected option(s) |
multiple | | false | can select more than one option |
tags | | false | when tagging is enabled the user can select from pre-existing options or create a new tag by picking the first choice, which is what the user has typed into the search box so far. |
maxTagTextLength | | | max tag text length to show |
allowClear | | false | |
combobox | | false | enable combobox mode(can not set multiple at the same time) |
onSelect | Function(value:string, option:Option) | | called when a option is selected. param is option's value and option instance |
onDeselect | Function | | called when a option is deselected. param is option's value. only called for multiple or tags |
onChange | function(value) | | called when select an option or input value change(combobox) |
---|
renderDropdownToBody | Boolean | false | whether render dropdown to body |
---|
dropdownMatchSelectWidth | Boolean | true | whether dropdown 's with is same with select |
---|
dropdownStyle | Object | {} | additional style applied to dropdown |
---|