rInput
Input component which utilizes useField from VeeValidate.
Props
| Name | Type | Default | Required | Description |
|---|---|---|---|---|
name | string | ✅ | Name for input | |
id | string | ✅ | Id for input | |
label | string | ❌ | Label for input | |
type | string | text | ❌ | Type of input |
placeholder | string | ❌ | Placeholder of input | |
disabled | boolean | false | ❌ | Wether the input is disabled |
Code snippets
vue
<RInput id="signInEmail" name="email" label="E-mail" type="email" />For whole code example with rForm see rForm.