react-tag-input-component
react-tag-input-component copied to clipboard
Spread props to input component
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:
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.
@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 :)