[Vuejs]-Trying to query firebase using where array-contains, how to wait for data to be received?

0👍

Maybe you need to do programmatic binding

export default {
  data() {
    return {
      therapistData: [],
    }
  },

  watch: {
    therapistData: {
      // call it upon creation too
      immediate: true,
      handler(therapistData) {
        this.$bind('practiseName', therapistData.practiseName)
      },
    },
  },
}

Leave a comment