Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Property or method "rawVal" is not defined #31

Open
psprokofiev opened this issue Sep 29, 2017 · 1 comment
Open

Property or method "rawVal" is not defined #31

psprokofiev opened this issue Sep 29, 2017 · 1 comment

Comments

@psprokofiev
Copy link

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

@paladosss
Copy link

console.log(this.rawVal);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants