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