Text
Text
PText is a convenience wrapper around PInput configured for plain text.
Demo
Usage
<PText v-model="name" required> Name</PText>Props
| Prop | Type | Default | Notes |
|---|---|---|---|
value | String | Number | '' | v-model value. |
Events
| Event | Payload | Description |
|---|---|---|
input | String | Emits when value changes. |
valid | Boolean | HTML5 validity state. |
Slots
| Slot | Description |
|---|---|
| default | Input label text. |