mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
[bugfix] Field: readonly not work (#679)
This commit is contained in:
parent
ee2aacf173
commit
b4499b9a7b
@ -16,8 +16,7 @@
|
||||
class="{{ inputClass }}"
|
||||
focus="{{ focus }}"
|
||||
value="{{ value }}"
|
||||
disabled="{{ disabled }}"
|
||||
readonly="{{ readonly }}"
|
||||
disabled="{{ disabled || readonly }}"
|
||||
maxlength="{{ maxlength }}"
|
||||
auto-height="{{ autosize }}"
|
||||
placeholder="{{ placeholder }}"
|
||||
@ -35,8 +34,7 @@
|
||||
type="{{ type }}"
|
||||
focus="{{ focus }}"
|
||||
value="{{ value }}"
|
||||
disabled="{{ disabled }}"
|
||||
readonly="{{ readonly }}"
|
||||
disabled="{{ disabled || readonly }}"
|
||||
maxlength="{{ maxlength }}"
|
||||
placeholder="{{ placeholder }}"
|
||||
placeholder-style="{{ placeholderStyle }} "
|
||||
|
Loading…
x
Reference in New Issue
Block a user