add: inputmode for better UI

This commit is contained in:
Robert Janus 2025-05-10 13:24:49 +02:00 committed by webfussel
parent 70348d85ee
commit 8b772a1a72
2 changed files with 8 additions and 0 deletions

View file

@ -11,6 +11,7 @@
:required="required"
placeholder=" "
@blur="emit('blur')"
:inputmode="type === 'number' ? 'decimal' : undefined"
/>
<label :for="id">{{ label }}</label>
</div>