The drop down list, should just drop down from its location within the app and not open up and fill the entire page. Am I correct on that?
I shared the app.
The drop down list, should just drop down from its location within the app and not open up and fill the entire page. Am I correct on that?
I shared the app.
Vinny,
The list looks like a dialog box when the set of its options does not fit on the screen. You can check 'Native Menu' in select of component's properties, then the list will be native.
Hi Vinny,
Please try removing Click event action from radio items and add Value change event to the whole radiobutton group.
The action is already value change.
This is tehe longest value and Label in the list Overtime 12 Hours Night .
Yes I can use the native option which works fine.
How about my first problem?
Hello Vinny,
You should use not a click event on RadioButton but value change event on the radiogroup.
But unfortunately we have a bug. Value change event does not work on the radiogroup reproduced using the mapping.
But there is workaround.
Please remove all click events on RadioButtons otNotPaidRadioButton/otStatusPaidButton and on page load use this code
pre$(document).off("change", '#overtimeTracking [name^="otRadioGroup"]').on({
change: function(event) {
localStorage.setItem("otStatusOtTracking", $(this).val());
localStorage.setItem("otIdOtTracking", $(this).closest("li").find("[name=overId]").text());
try {
updateService.execute({});
} catch (e) {
console.error(e);
hideSpinner();
};
},
}, '#overtimeTracking [name^="otRadioGroup"]');/pre
You and Kateryna were right I changed it to value change and it works perfect.
I appreciate everyone help.
Thank You
Vinny
Hello Vinny,
Thank you for the update, glad it works!