понедельник, 9 ноября 2020 г.

[Vue] [vee-validate] collection.indexOf is not a function - how to fix

 It occurs when to get error message (with `errors.first('myfield')`) of not existing field. In another words, check that component field has v-validate tag attribute (and maybe also `name` attribute). Or remove `errors.first('myfield')` line at all, this will fix this error.

Комментариев нет:

Отправить комментарий