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
Describe the bug
I have a custom validator requiring an array of objects as parameter. When this array has more than one element, everything works fine. Has it just one element, the validator receives just the one element, not an array with onw element.
Versions
Describe the bug
I have a custom validator requiring an array of objects as parameter. When this array has more than one element, everything works fine. Has it just one element, the validator receives just the one element, not an array with onw element.
To reproduce
This is the validator
The array of objects looks like this:
And the input field:
Expected behavior
The validator works for 2 and more element array. When there is just one element I get
TypeError: args.existingOwners.some is not a function app.js line 354 > eval:45:33
Checking with console it reveals that the validator receives just the one element of the array, not an array.
Desktop (please complete the following information):
Additional context
"Compiling" vue in a docker container, using it in another docker container with Mojolicious.
The text was updated successfully, but these errors were encountered: