feat (material): update validation with error label
This commit is contained in:
@@ -63,6 +63,10 @@ const items = [
|
||||
<Input v-model="data.stock" type="number" />
|
||||
</Field>
|
||||
</FieldGroup>
|
||||
<FieldGroup v-if="!!props.errors.stock">
|
||||
<Label></Label>
|
||||
<span class="text-red-400 text-sm">{{ props.errors.stock }}</span>
|
||||
</FieldGroup>
|
||||
</Block>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user