You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
The region input field is currently always required although some countries do not use them or require them.
If someone wants to make the region field optional they have to duplicate the component just to remove the validate prop on the region field.
Describe the solution you'd like
Allow for configuration to inform the UI whether region is required or not.
Surface this configuration in a GQL query, probably the countries query
Describe alternatives you've considered
One alternative would be to remove the validate prop on the region field implementations. It would then fall to the user to submit the form to find out if the region is required or not. I would prefer not to do this.
Is your feature request related to a problem? Please describe.
The region input field is currently always required although some countries do not use them or require them.
#2659 (comment)
If someone wants to make the region field optional they have to duplicate the component just to remove the
validate
prop on the region field.Describe the solution you'd like
Describe alternatives you've considered
One alternative would be to remove the
validate
prop on the region field implementations. It would then fall to the user to submit the form to find out if the region is required or not. I would prefer not to do this.Additional context
#2659 (comment)
Please let us know what packages this feature is in regards to:
venia-concept
venia-ui
pwa-buildpack
peregrine
pwa-devdocs
upward-js
upward-spec
create-pwa
The text was updated successfully, but these errors were encountered: