[Vue warn]: Avoid using non-primitive value as key, use string/number value instead.
template
<v-text-field
v-model="editedItem.url"
label="Домен"
:rules="urlRules"
:error-messages="nameErrors"
placeholder="Пример https://test.com" />
js
mixins: [validationMixin],
validations: {
url: { required },
},
...
computed: {
nameErrors () {
const errors = [];
let errorMsg = '';
if (!this.$v.url.$dirty) return errors;
if(!!this.errorsUrlTxt){
errorMsg = this.errorsUrlTxt;
!this.$v.url.required && errors.push(errorMsg);
}
return errors
},
},