Is it possible to add id and ref attributes to the generated hidden input? So far I haven't found a way to add attributes to the hidden input.
I'd also find such a feature very useful. Without being able to define a ref for the text input field, it's not possible to invoke its focus() method as there's no way to reference the element
+1, I want to focus the hidden input
bump
@JedWatson This appears to be a problem with the jsx-a11y/label-has-for rule for eslint. In the generated hidden input we're missing an id and there is no way to specify this. This behavior conflicts with the aforementioned rule.
What can be done to help fix this?
The below issue is what I'm experiencing.
+1
I second the issue mentioned by @Petesta.
Version 1 of react-select is no longer supported.
In the best interest of the community we've decided to spend the time we have available on the latest version.
We apologise for any inconvenience.
Please see:
Most helpful comment
I'd also find such a feature very useful. Without being able to define a ref for the text input field, it's not possible to invoke its focus() method as there's no way to reference the element