Skip to content

Conversation

@kevinresol
Copy link

Also allow ref to the actual DOM element (via inputRef)

@LeoEatle
Copy link
Owner

LeoEatle commented Jan 15, 2020

Good idea about this one. But I'm considering it strange that the component name is react-composition-input but we create a textarea.
How about creating a HOC component so we can provide attributes and callback for handling child component? But in this way it is not easy to use.

Maybe I will merge it in a few weeks.

@kevinresol
Copy link
Author

"input" doesn't necessarily refer to the DOM element. Generally speaking, textarea is also an input.

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

Successfully merging this pull request may close these issues.

2 participants