Answers for "how to get 3rd level form data by $refs in vue"

0

how to get 3rd level form data by $refs in vue

Vue.component('mycomponent', {
    template: "#mycomponent",
});

new Vue({
  el: '#app',
  mounted() {
    console.log(
      'Second level <input>\'s value:',
      this.$refs.myFirstLevelRefName.$refs.mySecondLevelRefName.value
    )
  }
})
Posted by: Guest on August-20-2020

Code answers related to "how to get 3rd level form data by $refs in vue"

Code answers related to "Javascript"

Browse Popular Code Answers by Language