task.completed = !task.completed
<FInputText
caption="Роль"
v-model="authForm.roles[index].name"
></FInputText>
<template v-if="hasRoleError(index)">
{{ errors.role[index].name }}
</template>
hasRoleError(index) {
return this.errors.role && this.errors.role[index];
}