0๐
I think you need to pass first the data before you open the modal.
editModal(data) {
isEditting = true
this.form.family_no = data.family_no
this.form.house_no = data.house_no
this.form.address = data.address
$('#addNewHouseholdModal').modal('show');
}
and then you form must be like this
<modal>
<input type="text" v-model="form.family_no" />
<input type="text" v-model="form.house_no" />
<input type="text" v-model="form.address" />
<modal>
- [Vuejs]-HTML <audio> stream don't play on Apple's iOS Safari and iPhone โ https://sidcloud.net
- [Vuejs]-How to pass a dynamic value from input field to progress prop of vue-circle component
Source:stackexchange.com