Skip to content

how to handle @change @input events? #92

Open
@nPaul

Description

@nPaul
my old input
 <input type="number" v-model="item.value" @change="my_calc(item)"/>

i change to the-mask component
 <the-mask mask="##########" type="number" v-model="item.value" @change="my_calc(item)"/>

but in component the-mask event @change not handle!

got error in browser console
vue-the-mask.js:1 Uncaught DOMException: Failed to execute 'setSelectionRange' on 'HTMLInputElement': The input element's type ('number') does not support selection. at HTMLInputElement.e.oninput

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions