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