-
``` javascript
const plugins = { dvr: validatorjs };
const fields = {
email: {
labal: 'Email',
rules: 'required|email|string|between:5,25',
},
password: {
label: 'Password',
rul…
-
- [x] I want to talk about `validator/validator.d.ts`.
- The authors of that type definition are cc/ @tgfjt @chrootsu @IOAyman @louy
@TonyPythoneer has pushed few days ago a couple of commits addi…
-
In some situations, I may wish to run validation checks against a field only if that field is present in the input array. We know that Laravel validation framework has this feature. Does validatorjs h…
-
Is there a way to do asynchronous validation (using validatorjs) for these components? I noticed validatorjs allows for this, but I'm not sure the current implementation of the component validation al…
-
can someone tell me how the required_if works?? i can't find the example on the doc. thanks in advance.
-
Hi, I'm creating import component with table of records, like:
![image](https://cloud.githubusercontent.com/assets/16606706/19479165/ca64b13e-9545-11e6-8202-5373e20d85e3.png)
How can I initialize form…
-
in the docs
``` javascript
Validator.registerAsync('username_available', function(username, attribute, req, passes) {
// do your database/api checks here etc
// then call the `passes` metho…
-
I just found you're awesome JS Laravel validator! Nice work, was thinking about building one similar till i found this.
I am using this within AngularJS.
When i run this with errors in the form, the…
-
Hi all,
I wonder, if there is a concept for custom validation rules. I.e. a callback that can be used for complex validations. Since I could not find any, I added a customRule by extending the protot…
-
**Uncaught (in promise) TypeError: Cannot read property 'length' of null**
I cannot get rid of this error, I don't know if it's my mistake.
I'm not using async functionalities of validatorjs in the e…