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

Default primary contact field to True for first contact #2648

Merged
merged 3 commits into from
Dec 2, 2024

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