MobstraInput
Props
| Prop name | Description | Type | Values | Default |
|---|---|---|---|---|
| type | Input type | string | 'text' | 'email' | 'number' | 'text' |
| label | Label text | string | - | 'Label' |
| placeholder | Placeholder text | string | - | 'Specify' |
| required | Red star next to label | boolean | - | false |
| clearable | Shows the field clear icon on hover | boolean | - | true |
| tooltip | Tooltip show | object | - | null |
| inputId | ID for input and label | string | - | '' |
| isDisabled | Disabled input | boolean | - | false |
| inputError | Input error text | string | - | '' |
| appendIcon | Append icon | string | - | '' |
| delay | Input data update delay time | number | - | 0 |
| modelValue | Input value | string|number | - | '' |
Events
| Event name | Properties | Description |
|---|---|---|
| update:inputError | ||
| update:modelValue | ||
| clearable |
vue
<MobstraInput />