Replies: 2 comments 18 replies
-
If you see |
Beta Was this translation helpful? Give feedback.
-
@edmundhung did that set of examples ever get published? |
Beta Was this translation helpful? Give feedback.
-
If you see |
Beta Was this translation helpful? Give feedback.
-
@edmundhung did that set of examples ever get published? |
Beta Was this translation helpful? Give feedback.
-
I'm taking
useControl
for a test drive and noticed a couple things. First, when I change the control value withcontrol.change
, it doesn't change the field value. At first I thought this was fine, I'd just use thecontrol.value
everywhere I was previously usingfield.value
. But then I noticedfield.valid
doesn't seem to stay in sync either. For example, if I try to submit an invalid field,field.valid
will change fromtrue
tofalse
as expected, but when I change to a valid value (and callcontrol.change
),field.valid
remainsfalse
(probably due to the first issue where thevalue
is not updated?). So now I'm just wondering about the relationship between the control and the field... 🤔Beta Was this translation helpful? Give feedback.
All reactions