How to validate Form Array count without v-model (v3) ? #4361
Unanswered
ricardo17coelho
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi guys 😃
Need help o V.3
let's say i have some form model like this:
When the
oberserver.validate()
is called i want to validate each field (already works) and as well the count of the items in the array, dynamically depends on the keyempowerment
.The form should be
invalid
because ofmandatee
with Firstname "Spider".He has the
empowerment=as_three
, which means that the array should have at least 3 items, but has only 2.How can i add some kind of validation to the
observer
withoud have any related value with v-model ?I guess, computed value is also not an solution, becuase there is no field. Is about the form validation..
Thx 🙏
Beta Was this translation helpful? Give feedback.
All reactions