We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55429f2 commit 8fb4a79Copy full SHA for 8fb4a79
adminforth/spa/src/afcl/Input.vue
@@ -12,7 +12,7 @@
12
ref="input"
13
v-bind="$attrs"
14
:type="type"
15
- @input="$emit('update:modelValue', $event.target?.value)"
+ @input="$emit('update:modelValue', type === 'number' ? Number($event.target?.value) : $event.target?.value)"
16
:value="modelValue"
17
aria-describedby="helper-text-explanation"
18
class="afcl-input inline-flex bg-lightInputBackground border border-lightInputBorder text-lightInputText text-sm rounded-0 focus:ring-lightPrimary focus:border-lightPrimary dark:focus:ring-darkPrimary dark:focus:border-darkPrimary
0 commit comments