open-forms
open-forms copied to clipboard
AddressNL - overarching epic
-
[x] (#4423)
-
[ ] #2566 (blocked, refine on July 15th)
-
[ ] Validate (or show validation errors) only when a field has been touched
-
Allow specifying validation regular expressions for nested fields - we can leverage the JSON nature for this (#4420):
{ "type": "addressNL", "key": "address", "label": "Your address", "components": { "postcode": { "validate": {"pattern": "1015 [a-zA-Z]{2}"}, "translatedErrors": { "en": { "pattern": "Must be at 1015 XX" } } } }
-
#4418
-
#4430
- [ ] 💄 addressNL should be able to hide label
- [ ] 💄 addressNL label should not show "(not required)" - only the fields within the component -> discuss, the component as a whole is not required, and within that some fields are also optional.
- [ ] addressNL street and city should not be disabled by default when "derive" is set, if BAG service is not working user should be able to fill this in themselves -> see #2566, belongs to above item too
- [ ] Styling of the
<address>
content - this is now the browser default which is italic and looks out of place -> I believe the Utrecht community components have something for this