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

add multiline prop to text field #2466

Merged
merged 1 commit into from
Jan 14, 2025
Merged

Conversation

helihard
Copy link
Collaborator

Description

This PR changes the survey text block 'Description' from a single-line input to multiline.

Screenshots

multiline

Changes

  • Adds the multiline prop to the ZUIPreviewableInput TextField component for content inputs.

Notes to reviewer

When navigating the Survey area, I noted that the 'Description' block for Open Question and Choice Question were also single-line, making them equally hard to navigate in edit mode. My proposed solution targets the 'Description' block for all three question types. If this is an incorrect approach, I can continue working with the issue.

Related issues

Resolves #2465

Copy link
Member

@richardolsson richardolsson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Love it! It's such a simple solution and I think it's an improvement to all of the affected fields.

I know at least one organizer who will love that we're getting this into the next release.

@richardolsson richardolsson merged commit 0e7a4dc into main Jan 14, 2025
6 checks passed
@richardolsson richardolsson deleted the issue-2465/multiline-text-input branch January 14, 2025 12:47
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.

Survey text block should be textarea
2 participants