forked from verdnatura/salix-front
updates
This commit is contained in:
parent
f0b329c226
commit
339fba72a7
|
@ -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
|
||||
>
|
||||
|
|
Loading…
Reference in New Issue