Skip to content

Fix: Form validation switch and input delete#64

Merged
BenHall-1 merged 2 commits intoTicketsBot-cloud:masterfrom
biast12:fix-forms
Dec 17, 2025
Merged

Fix: Form validation switch and input delete#64
BenHall-1 merged 2 commits intoTicketsBot-cloud:masterfrom
biast12:fix-forms

Conversation

@biast12
Copy link
Copy Markdown
Contributor

@biast12 biast12 commented Nov 21, 2025

Description

This fix a bug where if you add a new field and deletes it when it's invalid then the save button stays disabled
This also fix an issue where if you switch from an invalid form then the save button stays disabled

Type of Change

  • Bug fix
  • New feature
  • Breaking change

Testing

Add a new field to an already existing and valid form, delete the field you added and the save button should not be disabled
Go to an invalid form and switch to a valid one and the save button should not be disabled

Checklist

  • My code follows the style of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works

Clears input validation errors when switching active forms and removes validation errors for deleted inputs. Ensures validation state remains consistent and reactive during form interactions.
@biast12 biast12 requested a review from a team as a code owner November 21, 2025 15:56
@BenHall-1 BenHall-1 merged commit ea91a2d into TicketsBot-cloud:master Dec 17, 2025
@biast12 biast12 deleted the fix-forms branch December 17, 2025 19:27
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.

2 participants