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 use semantic form validation ? (with label near error message) #440

Open
volkanciloglu opened this issue Dec 27, 2019 · 0 comments
Open

Comments

@volkanciloglu
Copy link

I am using this framework. I have a form and want to do validate operations on that form. The documentation is not detailed so I don't know how use.

<sui-form>
  <sui-form-field>
    <label>First Name</label>
    <input v-model="username" placeholder="username" />
  </sui-form-field>
  <sui-form-field :error="password.length > 1">
    <label>Password</label>
    <input v-model="pass" type="password" placeholder="pass" /> 
  </sui-form-field>
  <sui-button @submit="example" content="Content as a prop" />
</sui-form>
@volkanciloglu volkanciloglu changed the title How to use semantic form validation ? How to use semantic form validation ? (with label near error message) Dec 30, 2019
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