Skip to content

Calling form.reset() is not resetting errors #111

Open
@Hanz-Valta

Description

@Hanz-Valta

Laravel Precognition Plugin Version

0.5.13

Laravel Version

11.34.2

Plugin

React

Description

calling form.reset() is not resetting the errors and there is no option to reset all errors at once therefore I have to call form.forgetError("fieldName") on every field.

Steps To Reproduce

  1. Fill out form wrongly
  2. Get errors
  3. call form.reset()
  4. The errors will still be visible

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions