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

Multi-lines <textarea> input #64

Merged
merged 6 commits into from
Jul 4, 2017
Merged

Multi-lines <textarea> input #64

merged 6 commits into from
Jul 4, 2017

Conversation

zhusee2
Copy link
Contributor

@zhusee2 zhusee2 commented Jun 29, 2017

Purpose

Supports inputs in multiple lines

Implement

  1. Add inputTag prop to <EditableBasicRow> so it can be input (for single-line) or textarea (for multiple lines).
  2. Set white-space: pre-wrap to the basic label in <EditableBasicRow> to correctly display line-breaks and white-spaces from <textarea>. This also ensures the <textarea> can grow automatically when you add more lines.
  3. Update examples and tests

Dependency

#63 Refactor editable components

Demo

2017-06-29 3 42 25

@zhusee2 zhusee2 requested a review from cjies June 29, 2017 07:41
@zhusee2 zhusee2 force-pushed the feature/zhusee_refactor_editable branch from cfaf2d6 to cc0ed06 Compare July 4, 2017 03:41
@zhusee2 zhusee2 changed the base branch from feature/zhusee_refactor_editable to develop July 4, 2017 03:49
@zhusee2 zhusee2 merged commit beeddab into develop Jul 4, 2017
@zhusee2 zhusee2 deleted the feature/zhusee_textarea branch July 4, 2017 03:55
@zhusee2 zhusee2 mentioned this pull request Jul 4, 2017
18 tasks
@cjies cjies mentioned this pull request Jul 4, 2017
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