mirror of
https://github.com/HoshinoSuzumi/rayine-ui.git
synced 2025-04-19 14:28:51 +08:00
🐛 fix(textarea): disabled
prop does not assigned to the textarea element
This commit is contained in:
parent
f52c45069f
commit
11018ba713
@ -58,6 +58,10 @@ export default defineComponent({
|
|||||||
type: Boolean,
|
type: Boolean,
|
||||||
default: false,
|
default: false,
|
||||||
},
|
},
|
||||||
|
disabled: {
|
||||||
|
type: Boolean,
|
||||||
|
default: false,
|
||||||
|
},
|
||||||
class: {
|
class: {
|
||||||
type: String,
|
type: String,
|
||||||
default: '',
|
default: '',
|
||||||
@ -182,8 +186,9 @@ export default defineComponent({
|
|||||||
:class="baseClass"
|
:class="baseClass"
|
||||||
:rows="rows"
|
:rows="rows"
|
||||||
:placeholder="placeholder"
|
:placeholder="placeholder"
|
||||||
v-bind="attrs"
|
:disabled="disabled"
|
||||||
:value="modelValue"
|
:value="modelValue"
|
||||||
|
v-bind="attrs"
|
||||||
@input="onInput"
|
@input="onInput"
|
||||||
@change="onChange"
|
@change="onChange"
|
||||||
@blur="onBlur"
|
@blur="onBlur"
|
||||||
|
Loading…
Reference in New Issue
Block a user