Replies: 2 comments
-
I also hit this issue. I set the I wanted to use the I believe the developers know there is a problem, because I don't see any documentation on the |
Beta Was this translation helpful? Give feedback.
-
I tried this, and it works.
|
Beta Was this translation helpful? Give feedback.
-
So I initially did the following:
This will cause the form values to be set to
undefined
after 1st submission. However, thefield.value
seems to be unaffected. So it creates a weird scenario of the displayed value being valid but the form doesn't pass validation on subsequence submissions. And when typing in the field, let's say the displayed value is "abc" and I type "d". The displayed value will become "abcd", but the form value, i.e. the actual value that will be submitted, is just "d".Now this can be worked around in the following manner:
But this makes me wonder,
disabled
prop inController
?Beta Was this translation helpful? Give feedback.
All reactions