From 0a114228a87e95bc7f719b457951e9e901868ac2 Mon Sep 17 00:00:00 2001 From: Alan Wang Date: Sat, 14 May 2022 10:35:28 +0800 Subject: [PATCH] fix(field): dynamic data causes the input to be emptied (#10582) --- packages/vant/src/field/Field.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/vant/src/field/Field.tsx b/packages/vant/src/field/Field.tsx index e48a3c999..6405b70a1 100644 --- a/packages/vant/src/field/Field.tsx +++ b/packages/vant/src/field/Field.tsx @@ -408,7 +408,6 @@ export default defineComponent({ name: props.name, rows: props.rows !== undefined ? +props.rows : undefined, class: controlClass, - value: props.modelValue, disabled: getProp('disabled'), readonly: getProp('readonly'), autofocus: props.autofocus,