raviawasti
5 months ago
146
2
Laravel

Disable all textarea in loop while commenting on a post in vuejs

Posted 5 months ago by raviawasti

Whenever i want to comment by clicking on comment Button all the textarea of post opens at a time how to only one texarea at a time

here is view

@{{post.content}} Comment @{{comment.content}} Comment

code

var app = new Vue({ el: '#app', data() { return { title: '', content:'', posts:[], commentdata:{}, commentBoxSeen: false, }; },

});

Please sign in or create an account to participate in this conversation.