Skip to content

[SVC-6] Добавить в форму выбор кредитных карт#44

Open
alex-radchenko-github wants to merge 2 commits intomainfrom
forge/SVC-6/1
Open

[SVC-6] Добавить в форму выбор кредитных карт#44
alex-radchenko-github wants to merge 2 commits intomainfrom
forge/SVC-6/1

Conversation

@alex-radchenko-github
Copy link
Copy Markdown
Owner

Task: SVC-6

Добавить в форму выбор кредитных карт

Summary of changes

File modified: src/app/components/Modal.tsx

  • Added a Card Type dropdown selector to the "Add Payment Method" form with three options: VISA, MasterCard, and AmEx
  • Removed the hardcoded type_credit_card: 'VISA' — the selected value is now submitted from the form
  • Added validation so the field is required (shows an error if not selected)
  • Removed the fixed h-64 height constraint on the modal container so it adapts to content

Generated by ForgeAI

ForgeAI and others added 2 commits March 28, 2026 04:43
Add a dropdown selector for card type (VISA, MasterCard, AmEx) to the
add payment method form. Previously the type was hardcoded to VISA.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.

1 participant