Validator custom message and type
Summary:
Hi, i am using a custom vlidator in one of my apps. i would like to know how can i show warning or information message on the field.
Content (required):
attached my validator and 2 screenshots.
I am using " throw new Error("More than 5% deviation");" and getting the result in picture no.1,
and i would like to get the option to show someting similar to picture no.2.
e.g. i would like the field to be valid, but with an error or a warning message.
Thank you!
Version (include the version you are using, if applicable):
Code Snippet (add any code snippets that support your topic, if applicable):
Tagged:
0