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(v2): add (and render) public form date field #3393

Merged
merged 20 commits into from
Feb 25, 2022

Conversation

karrui
Copy link
Contributor

@karrui karrui commented Feb 9, 2022

Problem

This PR adds the DateField component and renders it in the public form page.
The relevant validations have been added.

Closes #2618

Solution

Features:

  • Add DateField component

Improvements:

Before & After Screenshots

In storybook

Tests

Unit tests for the field component has been added.

Note that we are unable to add date picker selection tests... I think the rendered test block is too big. Jest will timeout. Probably worth it just to do the input validation tests

frontend/src/templates/Field/Date/DateField.tsx Outdated Show resolved Hide resolved
frontend/src/utils/fieldValidation.ts Outdated Show resolved Hide resolved
frontend/src/utils/fieldValidation.ts Outdated Show resolved Hide resolved
@karrui karrui merged commit 69074f6 into form-v2/develop Feb 25, 2022
@karrui karrui deleted the form-v2/date-field-component branch February 25, 2022 03:47
@justynoh justynoh mentioned this pull request Oct 5, 2022
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