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

🐛[#226] make digitalAdres betrokkene optional in admin #273

Merged
merged 1 commit into from
Oct 28, 2024

Conversation

Coperh
Copy link
Contributor

@Coperh Coperh commented Oct 22, 2024

Fixes #226

Comment on lines +117 to +119
add_dynamic_field(form, "digitaaladres_set-0-omschrijving", "description")
add_dynamic_field(form, "digitaaladres_set-0-soort_digitaal_adres", "email")
add_dynamic_field(form, "digitaaladres_set-0-adres", "[email protected]")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As an alternative to having to add these fields, you could maybe create a DigitaalAdres with a factory to ensure the form is there, and then try to save it again without a betrokkene, but either way is fine to me

@Coperh Coperh merged commit ebef919 into master Oct 28, 2024
16 checks passed
@Coperh Coperh deleted the feature/226-partij-betrokkene-optional branch October 28, 2024 07:56
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.

Question: why is betrokkene required in the Admin Interface, for a digitaalAdres that is verstrektDoorPartij
2 participants