vue-masked-input icon indicating copy to clipboard operation
vue-masked-input copied to clipboard

Property or method "rawVal" is not defined

Open psprokofiev opened this issue 6 years ago • 1 comments

hi, that is code <masked-input mask="\+\1 (111) 1111-11" placeholder="Phone" @input="rawVal = arguments[1]" /> that is warning in console

[Vue warn]: Property or method "rawVal" is not defined on the instance but referenced during render. Make sure to declare reactive data properties in the data option.

and in request will sending not raw phone, but '+1 (111) 1111-11' format

psprokofiev avatar Sep 29 '17 19:09 psprokofiev

console.log(this.rawVal);

paladosss avatar Oct 03 '17 10:10 paladosss