Skip to content

Conversation

dorian-adams
Copy link
Contributor

Set the initial primary contact value to True in the form, ensuring only the first contact is marked as primary. All additional contact forms added will default to False. Form validation remains unchanged in the event that the primary field is unchecked by the user.

Closes #2610

Set the initial `primary` contact value to True in the form, ensuring only the first contact is marked as primary. All additional contact forms added will default to False.
Form validation remains unchanged in the event that the `primary` field is unchecked by the user.

Closes python#2610
dorian-adams and others added 2 commits October 26, 2024 03:52
Went with a different approach. This is no longer needed.
@JacobCoffee
Copy link
Member

JacobCoffee commented Dec 2, 2024

Thanks @dorian-adams!
image

@JacobCoffee JacobCoffee changed the title Bug (sponsors): Default primary contact field to True for first contact Default primary contact field to True for first contact Dec 2, 2024
@JacobCoffee JacobCoffee merged commit 1da2a8a into python:main Dec 2, 2024
3 checks passed
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.

Bug(sponsors): When creating a new sponsor app the first contact should default to the primary

2 participants