mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
chore(Field): move disabled from attrs to props (#5590)
This commit is contained in:
parent
16597562f0
commit
64451eaaee
@ -15,6 +15,7 @@ export default createComponent({
|
||||
props: {
|
||||
...cellProps,
|
||||
error: Boolean,
|
||||
disabled: Boolean,
|
||||
readonly: Boolean,
|
||||
autosize: [Boolean, Object],
|
||||
leftIcon: String,
|
||||
@ -232,6 +233,7 @@ export default createComponent({
|
||||
},
|
||||
attrs: {
|
||||
...this.$attrs,
|
||||
disabled: this.disabled,
|
||||
readonly: this.readonly
|
||||
},
|
||||
on: this.listeners,
|
||||
|
Loading…
x
Reference in New Issue
Block a user