Fixes lack of value check in text type metadata.
This commit is contained in:
parent
d41885f1fc
commit
41ac71cdaf
|
@ -16,7 +16,7 @@
|
||||||
@input="($event) => getMask ? null : onInput($event.target.value)"
|
@input="($event) => getMask ? null : onInput($event.target.value)"
|
||||||
@blur="onBlur">
|
@blur="onBlur">
|
||||||
<small
|
<small
|
||||||
v-if="getMaxlength"
|
v-if="value && getMaxlength"
|
||||||
class="help counter"
|
class="help counter"
|
||||||
:class="{ 'is-invisible': !isInputFocused }">
|
:class="{ 'is-invisible': !isInputFocused }">
|
||||||
{{ value.length }} / {{ getMaxlength }}
|
{{ value.length }} / {{ getMaxlength }}
|
||||||
|
|
Loading…
Reference in New Issue