generated from hackforla/.github-hackforla-base-repo-template
-
-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Labels
Complexity: SmallIssue has detailed instructions to resolve and the task is simple.Issue has detailed instructions to resolve and the task is simple.Role: Front EndSection: 2Related to Major Flows Section 2: Application & Onboarding ProcessRelated to Major Flows Section 2: Application & Onboarding ProcessdependencyIssues that are being blocked by another issue or other thing that needs to be completed firstIssues that are being blocked by another issue or other thing that needs to be completed firstenhancementNew feature or requestNew feature or requestp-Feature: Profile Guestsize: 2ptCan be done in 7-12 hoursCan be done in 7-12 hours
Description
Dependency
- Awaiting updated design
Overview
Implement the "Pets" component for the Intake profile.
You'll have to work off the feat/generated-profile branch so make sure to check it out and pull in the most up-to-date changes.
Action Items
- Add a "pets" type to the FieldTypes type definition.
- Add a case to the switch statement that renders fields
- Add the field to the
/src/utils/test/db/profile.tsin the "Other Guests/Pets section" - Build the pets field component:
- Create a component that renders a field for a user to type in a pet
- The field has a button that allows the user to add another pet
- Add a button to delete pets
- Add custom validation if necessary
Resources/Instructions
The AdditionalGuestsField could be a good reference to how to approach building this, but you will have to make some tweaks. You may have to define the data as an array of object so here is some info from Formik on how to handle that.
Metadata
Metadata
Assignees
Labels
Complexity: SmallIssue has detailed instructions to resolve and the task is simple.Issue has detailed instructions to resolve and the task is simple.Role: Front EndSection: 2Related to Major Flows Section 2: Application & Onboarding ProcessRelated to Major Flows Section 2: Application & Onboarding ProcessdependencyIssues that are being blocked by another issue or other thing that needs to be completed firstIssues that are being blocked by another issue or other thing that needs to be completed firstenhancementNew feature or requestNew feature or requestp-Feature: Profile Guestsize: 2ptCan be done in 7-12 hoursCan be done in 7-12 hours
Type
Projects
Status
Ice Box