Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Select: support for default filter #95

Merged
merged 1 commit into from
Jan 4, 2024
Merged

Conversation

shaswat-indian
Copy link
Contributor

This PR adds support for a defaultFilterValue prop in the Select component.
Currently, while we have a onInputChange callback but there's no way so specify the initial filter value.

Screen.Recording.2024-01-04.at.5.27.40.PM.mov

/**
* The deafult value of the input filter.
*/
defaultFilterValue?: string;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On the fence whether it should be initialFilterValue or leave as defaultFilterValue. Do we even need to add value suffix ?

@amcdnl amcdnl merged commit 79f976d into master Jan 4, 2024
1 check passed
@amcdnl amcdnl deleted the select-default-filter branch January 4, 2024 12:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants