I got to have a similar case, where I managed to solve this way, it was a button that was also a subcomponent and when it was clicked the click event was not triggered.
procedure TPLUniEdit.LoadCompleted;
begin
inherited;
TUniForm(Self.OwnerForm).UniSession.AddJS('document.getElementById("'+
self.Button.JSControl.Id +'").addEventListener("click", function() {ajaxRequest(' +
Format('%s.%s', [self.OwnerForm.Name, self.Name]) + ', ''Search'', { name: ''teste'', width: ''01''} );});');
end;
procedure TPLUniEdit.JSEventHandler(AEventName: string; AParams: TUniStrings);
begin
inherited;
if AEventName.Equals('Search') then
OnClickBtn(nil);
end;
But in my other case, I could not solve in the same way with the OnChange of this UniEdit.