Skip to content
This repository was archived by the owner on Nov 10, 2020. It is now read-only.

v-model value not gets updated on backspace #1

@ankurk91

Description

@ankurk91

This should be fixed as soon as

igorescobar/jQuery-Mask-Plugin#656
OR
igorescobar/jQuery-Mask-Plugin#674

gets merged

Another way is to listen to input event

<input :type="type"  @input="onInput">
 onInput(e) {
        let toEmit = this.raw ? jQuery(this.$el).cleanVal() : e.target.value;
        this.$emit('input', toEmit);
      },

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingenhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions