Can we make unique validation? #109
manyang-megantoro
started this conversation in
General
Replies: 1 comment
-
Generally, I just leave any server-side validations to just run on the server upon submit. That said, Aire just puts the window.Validator.registerAsync('unique', (value, attribute, requirement, passes) => {
// Send value to server via AJAX
// Call passes() with outcome
}); |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
as I know, aire use validatorjs, and in validatorjs have "registerAsync", so how I can use unique validation laravel with aire which is I know it use async validation
Beta Was this translation helpful? Give feedback.
All reactions