From 353cf91c1bbf681a07b177c836fa62618efb3d0b Mon Sep 17 00:00:00 2001 From: anlyyao Date: Mon, 14 Mar 2022 11:16:36 +0800 Subject: [PATCH] fix(input): fix the problem of unable to get value --- src/input/input.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/input/input.ts b/src/input/input.ts index f558f3612..4e20a9f81 100644 --- a/src/input/input.ts +++ b/src/input/input.ts @@ -22,6 +22,8 @@ export default class Input extends SuperComponent { externalClasses = ['t-class', 't-class-input', 't-class-placeholder', 't-class-error-msg']; + behaviors = ['wx://form-field']; + properties = props; controlledProps = [