Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
144065 | Apr 16,2019 04:53 PM UTC | Apr 23,2019 11:15 AM UTC | Vue | 3 |
![]() |
Tags: Schedule |
<tr>
<td colspan="6">
<ejs-radiobutton ref="radioObj" label=" Propietario registrado" class="e-field" name="pro_check2" checked='true' value="Pro"></ejs-radiobutton></li>
</td>
<td class="e-textlabel"></td>
<td colspan="6">
<ejs-radiobutton ref="radioObj" label="Propietario nuevo" class="e-field" name="pro_check2" value="nuevo"></ejs-radiobutton></li>
</td>
</tr> |
onActionBegin: function(args) {
let scheduleObj = this.$refs.ScheduleObj;
if (args.requestType === "eventCreate" || args.requestType === "eventChange") {
let data;
if (args.requestType === "eventCreate") {
data = args.data[0];
} else if (args.requestType === "eventChange") {
data = args.data;
}
let radioObj = document.querySelectorAll('.e-radio');
radioObj.forEach((radio) => {
let myRadioObj = radio.ej2_instances[0];
if (myRadioObj.checked) {
data.pro_check2 = myRadioObj.value;
}
});
} |
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.