FIxed issue #6458
This commit is contained in:
parent
8c28fdd6df
commit
51634bd32f
|
|
@ -219,7 +219,7 @@
|
|||
|
||||
<div v-else>
|
||||
<div class="control-group" :class="[errors.has('value') ? 'has-error' : '']" v-if="matchedAttribute.type == 'text' || matchedAttribute.type == 'price' || matchedAttribute.type == 'decimal' || matchedAttribute.type == 'integer'">
|
||||
<input v-validate="matchedAttribute.type == 'price'?'numeric':'' || matchedAttribute.type == 'decimal'?'decimal:2':'' || matchedAttribute.type == 'integer' ? 'numeric':'' || matchedAttribute.type == 'text'?'alpha':''" class="control" :name="['conditions[' + index + '][value]']" v-model="condition.value" name="value"/>
|
||||
<input v-validate="matchedAttribute.type == 'price'?'decimal:2':'' || matchedAttribute.type == 'decimal'?'decimal:2':'' || matchedAttribute.type == 'integer' ? 'decimal:2':'' || matchedAttribute.type == 'text'?'alpha_num':''" class="control" :name="['conditions[' + index + '][value]']" v-model="condition.value" name="value"/>
|
||||
<span class="control-error" v-if="errors.has('value')">@{{ errors.first('value') }}</span>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue