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

Can I use directive way and get the raw output? #71

Open
Tecayehuatl opened this issue Oct 19, 2018 · 9 comments
Open

Can I use directive way and get the raw output? #71

Tecayehuatl opened this issue Oct 19, 2018 · 9 comments

Comments

@Tecayehuatl
Copy link

Can I use directive way and get the raw output? I see the masked property doesn't work in the directive way masked: false /* doesn't work with directive */ only works in the component way, is there any way to get output values using directive way?

@viddity
Copy link

viddity commented Dec 19, 2018

👍 Same problem, I need to set a placeholder – which is only working when using as directive –, but I also need the component to emit the raw value, only working as component. 🤷‍♀️

@diegomagikal
Copy link

Same here...

2 similar comments
@gabod22
Copy link

gabod22 commented Feb 20, 2019

Same here...

@MateusGruber
Copy link

Same here...

@dukhevych
Copy link

Same here...
It makes no sense to use this as component. Usually there are already custom wrappers for in projects, so raw value should work with directive.

@Tecayehuatl
Copy link
Author

@Landen13 In fact I had to create my own v-directive, for those who think this is a full vue plugin, it's not.

@dukhevych
Copy link

@Tecayehuatl could you please share your implementation?

@titou10titou10
Copy link

I just published a package that allows to retrive the unmasked value : https://www.npmjs.com/package/@titou10/v-money

@whande1992
Copy link

Same here...

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

8 participants