fix native input validation

This commit is contained in:
Alexander Drozdov
2020-04-06 03:04:55 +03:00
parent d7e1155d5e
commit 86325151ea
@@ -12,10 +12,10 @@
</div>
</button>
<div class="flex">
<ui-input-debounced class="search-num-input rounded-tl mr-px" placeholder="min" type="number" :class="{ 'rounded-bl': !showQ20Notice }"
<ui-input-debounced class="search-num-input rounded-tl mr-px" placeholder="min" step="any" type="number" :class="{ 'rounded-bl': !showQ20Notice }"
v-if="showMinmaxInput" ref="inputMin"
v-model.number="filter.min" @focus="inputFocus($event, 'min')" :delay="0" />
<ui-input-debounced class="search-num-input rounded-tr" placeholder="max" type="number" :class="{ 'rounded-br': !showQ20Notice }"
<ui-input-debounced class="search-num-input rounded-tr" placeholder="max" step="any" type="number" :class="{ 'rounded-br': !showQ20Notice }"
v-if="showMinmaxInput" ref="inputMax"
v-model.number="filter.max" @focus="inputFocus($event, 'max')" :delay="0" />
<div v-if="filter.option"