Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to pass class when field is empty #156

Open
tdrabikdev opened this issue Jul 17, 2021 · 0 comments
Open

How to pass class when field is empty #156

tdrabikdev opened this issue Jul 17, 2021 · 0 comments

Comments

@tdrabikdev
Copy link

Hello guys,

i am looking for solution to add custom class to field if is empty. I have validation on backend - laravel.

:class="{'is-invalid' : form.errors.has('project_location')}"

in this way i am passing information about errors, is any chance for similar solution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant