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
}
}
- [Vuejs]-How to fetch data from the DB using Vue axios in laravel?
- [Vuejs]-Why does every component in my page appears twice?
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
- [Vuejs]-How can I access Vuex Store from Node.js?
- [Vuejs]-How to dynamically change the color of a v-icon from javascript
Source:stackexchange.com