Entry notes validation
gitea/salix-front/pipeline/pr-dev There was a failure building this commit Details

This commit is contained in:
William Buezas 2024-02-05 11:55:22 -03:00
parent 67e2130374
commit cde41ab337
1 changed files with 2 additions and 1 deletions

View File

@ -37,7 +37,7 @@ onMounted(() => {
:default-remove="false" :default-remove="false"
:data-required="{ entryFk: route.params.id }" :data-required="{ entryFk: route.params.id }"
> >
<template #body="{ rows }"> <template #body="{ rows, validate }">
<QCard class="q-pa-md"> <QCard class="q-pa-md">
<VnRow <VnRow
v-for="(row, index) in rows" v-for="(row, index) in rows"
@ -59,6 +59,7 @@ onMounted(() => {
<VnInput <VnInput
:label="t('entry.notes.description')" :label="t('entry.notes.description')"
v-model="row.description" v-model="row.description"
:rules="validate('EntryObservation.description')"
/> />
</div> </div>
<div class="col-1 row justify-center items-center"> <div class="col-1 row justify-center items-center">