@ -267,14 +267,14 @@ export class AddEitComponent implements OnInit {
constelem=document.getElementById(
constelem=document.getElementById(
feildsList[i].APPLICATION_COLUMN_NAME
feildsList[i].APPLICATION_COLUMN_NAME
);
);
elem.addEventListener("click",e=>{
// elem.addEventListener("click", e => {
if(feildsList[i].MOBILE_ENABLED!="Y")returnfalse;
// if (feildsList[i].MOBILE_ENABLED != "Y") return false;
this.showDateTimePicker(
// this.showDateTimePicker(
feildsList[i].APPLICATION_COLUMN_NAME,
// feildsList[i].APPLICATION_COLUMN_NAME,
feildsList[i].MAXIMUM_SIZE
// feildsList[i].MAXIMUM_SIZE
);
// );
e.stopImmediatePropagation();
// e.stopImmediatePropagation();
});
// });
// else if(feildsList[i].DEFAULT_TYPE=="D"){
// else if(feildsList[i].DEFAULT_TYPE=="D"){
// this.datetimeInput = new DateTimeInput(feildsList[i].SEGMENT_PROMPT,feildsList[i].APPLICATION_COLUMN_NAME,"currentDateTime",containerId,feildsList[i].MOBILE_ENABLED);
// this.datetimeInput = new DateTimeInput(feildsList[i].SEGMENT_PROMPT,feildsList[i].APPLICATION_COLUMN_NAME,"currentDateTime",containerId,feildsList[i].MOBILE_ENABLED);
@ -311,14 +311,14 @@ export class AddEitComponent implements OnInit {
constelem=document.getElementById(
constelem=document.getElementById(
feildsList[i].APPLICATION_COLUMN_NAME
feildsList[i].APPLICATION_COLUMN_NAME
);
);
elem.addEventListener("click",e=>{
// elem.addEventListener("click", e => {
if(feildsList[i].MOBILE_ENABLED!="Y")returnfalse;
// if (feildsList[i].MOBILE_ENABLED != "Y") return false;
this.showTimePicker(
// this.showTimePicker(
feildsList[i].APPLICATION_COLUMN_NAME,
// feildsList[i].APPLICATION_COLUMN_NAME,
feildsList[i].MAXIMUM_SIZE
// feildsList[i].MAXIMUM_SIZE
);
// );
e.stopImmediatePropagation();
// e.stopImmediatePropagation();
});
// });
// else if(feildsList[i].DEFAULT_TYPE=="T"){
// else if(feildsList[i].DEFAULT_TYPE=="T"){
// this.timeInput = new TimeInput(feildsList[i].SEGMENT_PROMPT,feildsList[i].APPLICATION_COLUMN_NAME,"currentTime",containerId,feildsList[i].MOBILE_ENABLED);
// this.timeInput = new TimeInput(feildsList[i].SEGMENT_PROMPT,feildsList[i].APPLICATION_COLUMN_NAME,"currentTime",containerId,feildsList[i].MOBILE_ENABLED);