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

Spread props to input component #34

Open
ivan-cash opened this issue Oct 20, 2022 · 1 comment
Open

Spread props to input component #34

ivan-cash opened this issue Oct 20, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@ivan-cash
Copy link

Hi team, I really like the lib, and I would like to suggest you to spread the props coming from the TagsInput component to the input tag inside. Something like this:

image

Another workaround would be to create an additional prop in TagsInput component named inputProps or similar, in order to add props into input component. This solution would grant to add props like onFocus, autoComplete or another prop that we use with testing purposes.

Thank you all.

@harshzalavadiya
Copy link
Member

@ivan-cash good idea, should be easy to implement I will try to do pick it up in upcoming days.

but PRs are always welcome as well :)

@harshzalavadiya harshzalavadiya added the enhancement New feature or request label Oct 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants