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

added new dropdown component and used it in location information for two of the fields (underage and manufactoring) #459

Merged
merged 2 commits into from
Oct 8, 2024

Conversation

tristancusiCGI
Copy link
Contributor

This updates the location information form for two of the fields:

  1. "If persons under 19 years of age are permitted on the sales premises"
  2. "Intent to manufacture e-substances for sale at this business location"
    Where they are now dropdowns with the options of selecting "Yes" or "No" instead of free text fields. If there is legacy data that is not "Yes" or "No" it will be displayed.

changes:

  • added new StyledEditableDropdown component
  • changed StyledEditableTextField to use new dropdown when the field type is inside dropdownTypes array ('underage' or 'manufactoring')

* changed StyledEditableTextField to use new dropdown when the field
  type is inside dropdownTypes array ('underage' or 'manufactoring')
@chloe-yuu chloe-yuu merged commit 4b07ba5 into dev-env Oct 8, 2024
1 check failed
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