validation number negative

This commit is contained in:
Alessandro Francia
2018-06-07 12:08:40 +02:00
parent f6e0b0aa53
commit 375d730abf
@@ -9,7 +9,7 @@
<slot></slot>
</select>
<input v-if="type=='int' || type=='double'" v-model.number="bindingValue" type="number"
:min="minValue" :max="maxValue"
:min="minValue" :max="maxValue" v-validate="'min_value:0'"
:readonly="readOnly">
<div class="togglebutton" v-if="type=='boolean'">
<label>