I need help with populating additional form elements based on the selection of a record from a dropdown menu that contains response data obtained through an axios request.
<multiselect v-model="order.orderJCname" id="orderJCname" name="orderJCname" :options="orderRCnameoptions" label="nicename"></multiselect>
After selecting a record, I want to automatically fill out three other form fields with extra information from the selected object. How can I achieve this?
<div class="row">
<label class="col-sm-12" for="orderACjobtitle">Job Title</label>
<div class="col-sm-12>
<input v-model="orderRCnameoptions.job_title" v-bind="orderRCnameoptions.job_title" name="orderACjobtitle" type="text" disabled class="form-control" id="orderACjobtitle"/>
</div>
</div>
I've tried using V-Bind but I'm not certain if I'm implementing it correctly in this context.