You can cancel the selection and place the caret at the start using the onAfterEventEditRender
event:
onAfterEventEditRender: args => {
setTimeout(() => {
args.element.setSelectionRange(0, 0);
}, 0);
}
This event is called before the text is selected so you need to postpone the setSelectionRange()
call using setTimeout()
.