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

AddressNL - show/hide address fields #5002

Open
2 tasks
robinmolen opened this issue Jan 8, 2025 · 2 comments · May be fixed by open-formulieren/types#66 or open-formulieren/formio-builder#207
Open
2 tasks

AddressNL - show/hide address fields #5002

robinmolen opened this issue Jan 8, 2025 · 2 comments · May be fixed by open-formulieren/types#66 or open-formulieren/formio-builder#207

Comments

@robinmolen
Copy link
Contributor

Thema / Theme

Frontend

Omschrijving / Description

This ticket will be picked-up as part of #4431, and describes a part of the latest summarizing comment on the AddressNL Epic ticket

  • Add checkbox to AddressNL configuration to show/hide the city and streetname fields (by default, show the city and streetname fields)
  • Show/hide city and streetname fields in the sdk based on checkbox

Added value / Toegevoegde waarde

No response

Aanvullende opmerkingen / Additional context

No response

@robinmolen robinmolen added triage Issue needs to be validated. Remove this label if the issue considered valid. enhancement labels Jan 8, 2025
@joeribekker
Copy link
Contributor

joeribekker commented Jan 13, 2025

If autofill, force checked.

Estimate: 4 days

@joeribekker joeribekker removed the triage Issue needs to be validated. Remove this label if the issue considered valid. label Jan 13, 2025
@joeribekker joeribekker added this to the Release 3.1.0 milestone Jan 13, 2025
@vaszig vaszig assigned vaszig and unassigned robinmolen Jan 21, 2025
@vaszig vaszig moved this from Todo to In Progress in Development Jan 21, 2025
@robinmolen
Copy link
Contributor Author

To make sure that existing forms keep working the way they work right now, we will add a data-migration. When deriveAddress is set to true, than the city and streetName fields should be shown, otherwise the city and streetName fields should be hidden.

So the default value for this new field will be true, and the data-migration will ensure existing forms mimic the current behavior of the addressNL component

vaszig added a commit to open-formulieren/types that referenced this issue Jan 24, 2025
vaszig added a commit to open-formulieren/formio-builder that referenced this issue Jan 24, 2025
vaszig added a commit to open-formulieren/formio-builder that referenced this issue Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment