How to use custom form validation styles? #73
Unanswered
HovKlan-DH
asked this question in
Help & Support
Replies: 1 comment 3 replies
-
@HovKlan-DH I actually had this on my to-do list to add to the docs, let me see if I can scaffold a quick example for ya! |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am not a big fan of the "native" validation look in a form, as it looks like something from the 90's 🤣 I would like a form validation that looks more alike e.g. Bootstrap, where you can have a red
<div>
for an error or a green<div>
for success so, to archieve this it seems I must do some custom made styling.Reading https://backers.webawesome.com/docs/form-controls shows that we can use e.g.
<data-wa-required>
or<data-wa-invalid>
etc. but as I do not fully understand this, then it would be great having a couple of examples on the documentation page to illustrate how to use this.E.g. would anyone be willing to show-case a simple example of this?
Beta Was this translation helpful? Give feedback.
All reactions