react-tag-input-component icon indicating copy to clipboard operation
react-tag-input-component copied to clipboard

Spread props to input component

Open ivan-cash opened this issue 3 years ago • 1 comments

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.

ivan-cash avatar Oct 20 '22 00:10 ivan-cash

@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 avatar Oct 20 '22 06:10 harshzalavadiya