Though for the datetime and date validator to you need to specify a parse and format function and for that you most likely will want to use a library, is highly recommended.
If you want to use async validation you need to use a runtime that supports Promises.
is an open source component of Wrapp and is licensed under the MIT license.
There are no required external dependencies at all!
It is unit tested with 100% code coverage and can be considered fit for production.
The native HTML form validate has been disabled in a demo purpose so that you may see how works in action.The message can also be a function which will be called to retrieve the message, besides this it is treated like a normal message (the attribute name is prepended etc).If the message is not a function and not a string it is simply returned as is.Sometimes it's nice to be able validate field differently depending on the input itself.