Closed saltovo closed 1 year ago
Two years later, I have implemented a variant of this in 801a0b95a45b9ff20f79e8c3fa6e5980f834df1d and have included you as a co-author in the commit. I have decided against making more significant changes to the underlying code, instead providing an example of how to do async search with a mock API request. One major reason for this was to prevent major backward compatibility breaks with simpleValue={true}
.
Thank you for all of your effort.
thank you for let me be a co-author,hope this project be better.
l add
props.promiseSearchOptions(bool)
to fetch new data with ajax by usingprops.onFilterChange
. After fetching the new data, even if the options not contains the selected, the selected won't disappear. l also change theprops.onChange
. sorry for the style, because I can't install"stylelint-config-takiyon": "^1.0.1"
. Here is the code l useprops.promiseSearchOptions
: