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