react-tagsinput icon indicating copy to clipboard operation
react-tagsinput copied to clipboard

defaultInputProps.className creates troubles with complex input renderers

Open diligiant opened this issue 8 years ago • 0 comments

In the documentation, an example uses Autosuggest. This component uses a theme property to define the styling so unless you leak Autosuggest.theme.input into TagsInput.inputProps.inputProps (which is really… bad coding ;), there is no way to tell TagsInput to leave this alone.

I didn't do a PR as I don't know how you want to fix this: My first idea was to treat inputProps as a monolith and only use defaultInputProps if it's missing altogether, not to supplement the missing properties.

diligiant avatar Jul 31 '17 11:07 diligiant