0👍
As par you code, you have to do:
mapping['map']['email_address']['type']
or
mapping.map.email_address.type
- [Vuejs]-ValidationMixin missing required function, race condition?
- [Vuejs]-Prevent form from submitting with vue.js and axios
0👍
You should rethink your data to not have so many nested objects.
If you are setting a property directly within an object, it is good practice to use Vue.set to ensure you do not break reactivity. Doing this will save you hours of headaches trying to figure out where something broke.
Vue.set(mapping.map.email_address, 'type', value_to_set)
Source:stackexchange.com