Skip to content

Conversation

@pascalbaljet
Copy link
Member

@pascalbaljet pascalbaljet commented Jun 27, 2025

Instead of:

form.reset()
form.clearErrors()

You can now do:

form.resetAndClearErrors()

Still draft because the resetAll() name is a bit ambiguous, and it feels wrong when you pass in fields like resetAll('name').

@pascalbaljet pascalbaljet marked this pull request as ready for review July 1, 2025 07:51
@pascalbaljet pascalbaljet merged commit f296e4f into master Jul 8, 2025
8 checks passed
@pascalbaljet pascalbaljet deleted the unify-reset-and-clear-errors branch July 8, 2025 10:34
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