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

Add an emptyName prop to SelectInput #3392

Closed
tdeo opened this issue Jul 9, 2019 · 0 comments
Closed

Add an emptyName prop to SelectInput #3392

tdeo opened this issue Jul 9, 2019 · 0 comments

Comments

@tdeo
Copy link
Contributor

tdeo commented Jul 9, 2019

Is your feature request related to a problem? Please describe.
I'd like to display a custom text when the empty entry is selected in a SelectInput, to inform the user about what the default behaviour will be

Describe the solution you'd like
I'd like to pass a emptyName prop to SelectInput the same way we can add emptyValue. Ideally, this could either be a String or a React component

Additional context
Not sure what props should the React Component (or arguments if the prop accepts a function) receive. Maybe the source ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants