feat(InputMenu/SelectMenu): allow lazy search (#1705)

Co-authored-by: chenying <chenying@addcn.com>
Co-authored-by: Benjamin Canac <canacb1@gmail.com>
This commit is contained in:
chenying
2024-04-26 21:43:29 +08:00
committed by GitHub
parent ed5c74dc17
commit 7e6ba78681
4 changed files with 16 additions and 0 deletions

View File

@@ -130,6 +130,8 @@ Pass a function to the `search` prop to customize the search behavior and filter
Use the `debounce` prop to adjust the delay of the function.
Use the `searchLazy` prop to control the immediacy of data requests. :u-badge{label="New" class="!rounded-full" variant="subtle"}
::component-example
---
component: 'input-menu-example-search-async'

View File

@@ -150,6 +150,8 @@ Pass a function to the `searchable` prop to customize the search behavior and fi
Use the `debounce` prop to adjust the delay of the function.
Use the `searchableLazy` prop to control the immediacy of data requests. :u-badge{label="New" class="!rounded-full" variant="subtle"}
::component-example
---
component: 'select-menu-example-search-async'