The click event listener is working on the desktop version.
But it does not work on the mobile version.
When I tap the text field, it does not toggle between checkMark and ‘’.
What event should I use? How about the e.target.value?
kintone.events.on(['mobile.app.record.create.change.employee_status', 'mobile.app.record.edit.change.employee_status'], function (event) {
let eeStatus = event.changes.field.value;
// **codes omitted to save space **
// Add a click event listener to the first text field of all rows in the table so that when the text field is clicked, it will toggle between checkMark and ''
for (let i = 0; i < tblZeroInput.length; i++) {
tblZeroInput[i].addEventListener('click', function (e) {
if (e.target.value == checkMark) e.target.value = '';
else e.target.value = checkMark; // toggle
});
}
});