Home > Blockchain >  Vue3 Composition API with Typescript Default Values for nested objects not working as expected
Vue3 Composition API with Typescript Default Values for nested objects not working as expected

Time:07-19

I want to be able to set default values for nested datasets in Vue, basically, if a key does not have a value in the dataset that is being parsed to the component, I would like that value to be filled in automatically. This kinda works looking into this example enter image description here

  • Related