0
0
Fork 0
This commit is contained in:
Javier Segarra 2024-07-08 14:15:24 +02:00
parent f0b329c226
commit 339fba72a7
1 changed files with 2 additions and 1 deletions

View File

@ -65,6 +65,7 @@ const mixinRules = [
<template>
<div @mouseover="hover = true" @mouseleave="hover = false">
{{ $attrs }}
<QInput
ref="vnInputRef"
v-model="value"
@ -73,7 +74,7 @@ const mixinRules = [
:class="{ required: $attrs.required }"
@keyup.enter="emit('keyup.enter')"
:clearable="false"
:rules="$attrs.required || $attrs.min ? mixinRules : null"
:rules="$attrs.required ? [...($attrs?.rules ?? []), ...mixinRules] : null"
:lazy-rules="true"
hide-bottom-space
>