'how to pass the data variable in geturldata in vuejs in html part not any one is the same
how to pass the variable in getdataurl in vuejs A clear title. A reasonable explanation of what your question is. Add as much detail as you can. Any background research you've tried but wasn't enough to solve your problem. Correct use of English spelling and grammar to the best of your ability.
<select-box
title="CRM Prospect Status"
v-model="form.crm_prospect_patient_status"
getDataURL="/json_dropdown/crm-prospect-status/{{this.pipeline_id}}"
:key=this.index ></select-box>
Solution 1:[1]
You can make a computed property with your data. like this:
urlData(){
return "/json_dropdown/crm-prospect-status/"+ this.pipeline_id;
}
and then simply pass this computed property to your select-box
<select-box
title="CRM Prospect Status"
v-model="form.crm_prospect_patient_status"
:getDataURL="urlData"
:key=this.index ></select-box>
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Himanshu Joshi |
