Answer the question
In order to leave comments, you need to log in
How to correctly pass html to modal window?
By clicking on the button, I pass data to the modal window - in particular, the text of the body field. But that doesn't work
<button v-on:click="modal( { product_about: '{{ product.body }}', } )">
....
modal: function (e) {
this.product.about = e.product_about;
},
product_about: `{{ product.body }}`
but as far as I understand, this replacement of quotes does not work in the explorer. How to do this operation in general?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question