[Vuejs]-VUE how to replace json variables

0👍

You can make use of methods. First, define a method with name sendMessage and then just access the variables using this and update the startsession.url with url.

methods: {
    sendMessage () {
        this.startsession.url = this.url
    }
}

0👍

Make sure your b-form-input component has syntax like this :
https://v2.vuejs.org/v2/guide/components.html#Using-v-model-on-Components

in base, you will pass url as prop to b-form-input, and in this child component, you need emit a event to tell parent the value of url is changed. Then, just use sendMessage method like @Yash

Leave a comment