ThilagamSakkara
2 years agoCommunity Member
change NumericEntry without losing focus
Trying to perform some actions when NumericEntry changes its value when having a focus in it. Found some discussion about changing Text entry without losing focus. The solution provided in that discussion is:
document.querySelector('.acc-textinput').addEventListener('keyup', () => {
document.querySelector('.acc-textinput').blur();
document.querySelector('.acc-textinput').focus();
});
I have tried replacing (.acc-textinput) with (.acc-numericinput) and document.querySelector('#NumericEntry'). Both not working. Any help would be much appreciated!