Description
- I have searched the issues of this repository and believe that this is not a duplicate.
What problem does this feature solve?
I would like to request a feature enhancement for Ant Design Select.
It would be great if filterOption
or onSearch
could include a lazy option similar to what is available in Ant Design Input. Currently, when users are typing in Korean (or any other language requiring input composition), the filterOption
is triggered during the composition process, which results in a suboptimal user experience.
Adding a lazy option to delay execution until input composition is complete would greatly improve usability in these scenarios.
Thank you for considering this request!
What does the proposed API look like?
<a-select :lazy="false" :filter-option="(str, opt) => opt.label.includes(str)" />
=> I would like the filterOption
to execute even when a single composing character, such as ㅇ, is entered, including the composed character itself during the composition process. This would allow the filterOption
to account for partially composed characters, improving usability for languages like Korean.