Skip to content

Livevalidation in v6 does not validate on field with pattern change/blur #4782

@ferrykranenburgohra

Description

@ferrykranenburgohra

Prerequisites

What theme are you using?

chakra-ui

Version

6.x

Current Behavior

In version 5.x we use liveValidation with errorlist on false. In the following scenario we submit the form and see a required validation. Now when we type something that is not correct in terms of the given pattern, and blur the field, nothing happens. The validation is only visible when errorlist is false, but under the field itself no error is shown. Only on submit. This is why we use liveValidation.

Is this behaviour changed? Of how can we restore it in the old behaviour?

Link to reproduction

Expected Behavior

No response

Steps To Reproduce

No response

Environment

- OS:
- Node:
- npm:

Anything else?

No response

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions