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: ChecklistFieldInput for List component #3304

Merged
merged 12 commits into from
Jul 1, 2024

Conversation

DafyddLlyr
Copy link
Contributor

@DafyddLlyr DafyddLlyr commented Jun 20, 2024

What does this PR do?

  • Introduces a ChecklistField for the List component
    • As with our other fields, this requires making the validation schema shared
  • Updates existing schemas to use checklists instead of a series of questions
  • Updates tests
  • Update flatten() logic to handle checklist responses
image

Copy link

github-actions bot commented Jun 20, 2024

Removed vultr server and associated DNS entries

@DafyddLlyr DafyddLlyr force-pushed the dp/list-component-checklist-field branch from 9d46d7d to b21c6d3 Compare June 24, 2024 12:37
@DafyddLlyr DafyddLlyr force-pushed the dp/list-component-checklist-field branch 3 times, most recently from ac111f3 to f6b8d54 Compare June 25, 2024 15:44
@DafyddLlyr DafyddLlyr changed the title feat(wip): ChecklistFieldInput for List component feat: ChecklistFieldInput for List component Jun 26, 2024
@DafyddLlyr DafyddLlyr requested a review from a team June 26, 2024 09:01
@DafyddLlyr DafyddLlyr marked this pull request as ready for review June 26, 2024 09:02
Copy link
Contributor

@ianjon3s ianjon3s left a comment

Choose a reason for hiding this comment

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

Checklist outputs with correct a11y markup and functions correctly on the front-end, with the exception of the bug addressed in #3316

@DafyddLlyr DafyddLlyr force-pushed the dp/list-component-checklist-field branch from 421acac to ac9c112 Compare June 26, 2024 10:31
Copy link
Member

@jessicamcinchak jessicamcinchak left a comment

Choose a reason for hiding this comment

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

Works exactly as I'd expect it to & records a list of my selected values in the passport !

Really nice List extension/addition 🙂

@DafyddLlyr DafyddLlyr force-pushed the dp/list-component-checklist-field branch from 1bc4a92 to cea11f8 Compare June 28, 2024 11:02
@DafyddLlyr DafyddLlyr merged commit 2a095c0 into main Jul 1, 2024
12 checks passed
@DafyddLlyr DafyddLlyr deleted the dp/list-component-checklist-field branch July 1, 2024 09:20
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.

3 participants