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 7674f91 commit 49f721bCopy full SHA for 49f721b
src/directive.ts
@@ -9,6 +9,7 @@ export default {
9
const options = Object.assign(core.cloneDeep(defaultOptions), value, modifiers)
10
const { reverseFill, precision, decimal } = options
11
el.options = options
12
+ el.setAttribute('inputmode', 'numeric')
13
if (reverseFill && el.value) {
14
el.value = parseFloat(new NumberFormat({ ...options, reverseFill: false }).unformat(el.value)).toFixed(precision)
15
if (vnode?.props?.value) {
0 commit comments