Closed Atmtech closed 4 years ago
Hello, I am not entirely sure, however, what this plugin do is it takes the whole element based on the id that you provide to the this.$htmlToPaper("printDiv")
. In this case, the div that you are seeing in the print page is no longer a vuejs page, just a plain html page. That's why v-model
will not work.
Will be closing for now, kindly create a new issue if you have more question. Also, please dont forget to add the label "Question". Thank you.
@jofftiquez Hi, I'm sorry to open this again, but how do you go around this problem? How can I print the value of an 'input'? It's always empty because v-model doesn't generate html "value" attribute.
Is it by design not to print the value (input, textarea, any) of a v-model ? Thank you :)
The test code.