Skip to content

Validator doesn't work if form has "." in it #121

@prindacerk

Description

@prindacerk

I was lost at the reason why the form was not showing the validation error message on submission, When I check the state of the form, it does show it as invalid but still the error message is not visible. It seems to work fine on-blur but not on submission.

After extensive experimenting, I came to realize that the cause was because the form name has a ".". For example the name I had was "vm.form" and it wasn't working for submission. When I renamed it to "myform", then it works on submission as well.

I hope you can figure out why this is and either handle it or put it in the FAQ so people won't spend as much time as me to figure this out.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions