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

feat(form-v2): add MyInfo badge to form builder for MyInfo fields #4538

Merged
merged 6 commits into from
Aug 10, 2022

Conversation

justynoh
Copy link
Contributor

Problem

MyInfo fields currently are not distinguished from normal fields in the form builder. This PR adds the MyInfo badge to the relevant fields in the form builder.

Closes #4441

Solution

Add an additional base field prop, showMyInfoBadge (not called isMyInfo because we explicitly don't want to show the badge in the public form, only in the form builder). FieldRowContainer adds the badge itself. Also updates to props for Short Text, Dropdown and Date fields to accommodate additional field container props.

Breaking Changes
No - this PR is backwards compatible

Screenshots

image

image

Copy link
Contributor

@karrui karrui left a comment

Choose a reason for hiding this comment

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

lgtm with q

@justynoh justynoh marked this pull request as ready for review August 10, 2022 09:22
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