[Vuejs]-Selecting the value and then submitting the form using vue.js dosent work

0👍

I manage to get it work using this code

methods: {
    demo() {
        this.$refs.send[1].checked = true;
        this.$refs.send.submit();
    },
},

So, when now someone clicked in the div the first radio button it’s selected and then the form it is send. If someone have a better solution, please let me know! thanks!

Leave a comment