Fixes lack of value check in text type metadata.

This commit is contained in:
mateuswetah 2024-08-05 18:10:05 -03:00
parent d41885f1fc
commit 41ac71cdaf
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@
@input="($event) => getMask ? null : onInput($event.target.value)"
@blur="onBlur">
<small
v-if="getMaxlength"
v-if="value && getMaxlength"
class="help counter"
:class="{ 'is-invisible': !isInputFocused }">
{{ value.length }} / {{ getMaxlength }}