You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And I want to display only the elements that matches a particular selected date, in this case I want to only show to the user the record that has a date = "31/05/2024", so I've created a computed property to filter the initialData and return only the elements that matches that date:
When passing the new computed property to the nested component to display the list and validate, only the original ones are the ones validated, but if I add more elements to the initialData dynamically, those new elements are not piked up by vuelidator to validate
When using a computed list the validators does not update correctly on any change.
If I have a list of elements coming from my server, and I want to display them in a list of corresponding data, let's say this is my list:
And I want to display only the elements that matches a particular selected date, in this case I want to only show to the user the record that has a date = "31/05/2024", so I've created a computed property to filter the
initialData
and return only the elements that matches that date:When passing the new computed property to the nested component to display the list and validate, only the original ones are the ones validated, but if I add more elements to the
initialData
dynamically, those new elements are not piked up by vuelidator to validateYou can take a look on the example in this link:
https://playcode.io/1842471?v=3
Am I doing something wrong?
Thanks in advance.
The text was updated successfully, but these errors were encountered: