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

Better strings #43

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Conversation

yorickreum
Copy link

@yorickreum yorickreum commented Oct 26, 2019

This is probably not a appropriate fix, more an issue to discuss:
In the JSON we manage with the tool, we have some strings that span multiple lines. This is not supported by the input-field. Hence, in my opinion, it'd be good to switch to textarea.
Or maybe better: Create the possibility to pass own input field components? Would offer much more use cases...

By the way: I think React should be listed as a peer dependency inside the package.json – otherwise you can get in trouble with different mismatching React versions.

@b-gran
Copy link
Owner

b-gran commented Oct 26, 2019

Create the possibility to pass own input field components?

Great idea, @yorickreum. Check out #46 which adds support for this and should fit your <textarea> use case. That PR has an example which implements <textarea>.

If it looks alright, we can merge it and close this.

@yorickreum
Copy link
Author

Wow, that was fast. Looks quite good! Way better than my workaround.
Thanks a lot, will test it as soon as possible.

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.

None yet

2 participants