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

Bug (sponsors): Default primary contact field to True for first contact #2648

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Commits on Oct 26, 2024

  1. Bug (sponsors): Default primary contact field to True for first contact

    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 committed Oct 26, 2024
    Configuration menu
    Copy the full SHA
    9a2622e View commit details
    Browse the repository at this point in the history
  2. Remove formset variable

    Went with a different approach. This is no longer needed.
    dorian-adams committed Oct 26, 2024
    Configuration menu
    Copy the full SHA
    694bdb3 View commit details
    Browse the repository at this point in the history