[Vuejs]-When radio button is clicked pass it's value into vue component instance

0👍

Your best approach here is to store the result of the radio button click/value in your Vuex store. You dispatch an action when the radio button changes, which updates the store to reflect the value that you have set. The second component should use a computed property to read your state from the store and update accordingly.

Leave a comment