mirror of
https://git.hmsn.ink/kospo/svcm/oa.git
synced 2026-03-20 07:43:32 +09:00
37 lines
519 B
Markdown
37 lines
519 B
Markdown
### Disabled input
|
|
|
|
An `VInput` can be shown in a disabled state. To apply that style,
|
|
simply add the `disabled` atribute to the target input element.
|
|
|
|
<!--code-->
|
|
|
|
```vue
|
|
<template>
|
|
<VField>
|
|
<VControl>
|
|
<VInput
|
|
type="text"
|
|
placeholder="Username"
|
|
disabled
|
|
/>
|
|
</VControl>
|
|
</VField>
|
|
</template>
|
|
```
|
|
|
|
<!--/code-->
|
|
|
|
<!--example-->
|
|
|
|
<VField>
|
|
<VControl>
|
|
<VInput
|
|
type="text"
|
|
placeholder="Username"
|
|
disabled
|
|
/>
|
|
</VControl>
|
|
</VField>
|
|
|
|
<!--/example-->
|