-
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
As for the original question, there are no reactive form values because how would you deal with nested values inside arrays? Flat objects or nested objects are straightforward but nested arrays usually cause the problem here and are not possible to use with TypeChecks since So if the workaround you did works for you, then it is all good, use it but be careful with arrays and similar scenarios. |
Beta Was this translation helpful? Give feedback.
-
Hey @logaretm Another question here: I'm using I've tried Any help is very welcome! |
Beta Was this translation helpful? Give feedback.
setValues
doesn't validate as of 4.10 which is a bug. I will try to fix that shortly, it will accept an option whether you want to validate or not. I created an issue to track it here #4359As for the original question, there are no reactive form values because how would you deal with nested values inside arrays? Flat objects or nested objects are straightforward but nested arrays usually cause the problem here and are not possible to use with TypeChecks since
[0]
could always be undefined andv-model
doesn't work with nested undefined paths.So if the workaround you did works for you, then it is all good, use it but be careful with arrays and similar scenarios.