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.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm taking
useControlfor 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.valueeverywhere I was previously usingfield.value. But then I noticedfield.validdoesn't seem to stay in sync either. For example, if I try to submit an invalid field,field.validwill change fromtruetofalseas expected, but when I change to a valid value (and callcontrol.change),field.validremainsfalse(probably due to the first issue where thevalueis 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