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 autoFocus prop to Button and Select #1965

Open
Ruminat opened this issue Nov 28, 2024 · 1 comment
Open

Add autoFocus prop to Button and Select #1965

Ruminat opened this issue Nov 28, 2024 · 1 comment

Comments

@Ruminat
Copy link
Contributor

Ruminat commented Nov 28, 2024

It's really inconvenient, that these components don't have that prop
In Button you can set it via extraProps (which is better, but still can be improved by adding the property directly to the component)
In Select you don't even have the extraProps, the only options you're left with are

  • focusing with ref on useEffect
  • or modifying the Select button with renderControl
@amje
Copy link
Contributor

amje commented Dec 17, 2024

In the next major update we will add ability to pass all HTML props to Button, Link and Select

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

No branches or pull requests

2 participants