Skip to content
This repository was archived by the owner on Jun 27, 2023. It is now read-only.
This repository was archived by the owner on Jun 27, 2023. It is now read-only.

[Question] mandatory fields and blur  #302

Open
@samo9789

Description

@samo9789

Is your feature request related to a problem? Please describe.

I have worked on a simple form to create, edit and save an user account. Finally, I came to the topic of validation and added three fields as mandatory (validator : required). By doing so, the * was added automatically so it seems to work. I then tried to empty the field and click on submit in order to see (and write the CSS) for the error message "this field can not be empty". Problem is : every time I try to clear the field and move to the next one, it re-fills with what was there. Like mandatory fields can not ever be left empty.
If I remove the validator : required it seems this auto re-filling of the field is removed....

Is there a way to disable this auto-refill option ? Or an option on the required validator to have this or not enabled ?

Thank you

Describe the solution you'd like

Is there a way to disable this auto-refill option ? Or an option on the required validator to have this or not enabled ?

Describe alternatives you've considered

No response

Additional context

No response

Validations

  • Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions