Skip to content
New issue

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

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

Already on GitHub? # to your account

Allow props to be passed down to native select in FormSelect component #441

Closed
cg-mmirca opened this issue Mar 20, 2023 · 1 comment
Closed
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@cg-mmirca
Copy link
Collaborator

Is your feature request related to a problem? Please describe.
I want to use the HTML disabled property for the native select rendered by FormSelect.

Describe the solution you'd like
I would like to have a property similar to inputProps found at the FormInput. This would allow me to pass down all the properties I need to the native select element.

Describe alternatives you've considered
We could do a querySelector to obtain the HTML reference but I would be React-friendly.

Additional context
A suggestion would be to add "selectProps" property to the FormSelect component.

@daniele-zurico daniele-zurico added the enhancement New feature or request label Mar 21, 2023
@daniele-zurico daniele-zurico added this to the 0.7 milestone Mar 21, 2023
@daniele-zurico daniele-zurico self-assigned this Mar 21, 2023
@daniele-zurico
Copy link
Contributor

closed by #444

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants