TTMSFNCEdit lookup value cannot be selected on android

Hello,

I put a TTMSFNCEdit on a form, enabled the lookup, fill the displaylist en valuelist with items.

When i run the application in windows it is working fine. When i run it on android i can type a value, the lookuplist appears but i cannot make a selection.

What do i forget to do?

procedure TForm5.FormCreate(Sender: TObject);
begin
TMSFNCEdit1.FullTextSearch := True;
TMSFNCEdit1.Lookup.Enabled := True;
FillLookUp;
end;

procedure TForm5.FillLookUp;
begin
TMSFNCEdit1.Lookup.DisplayList.Clear;
TMSFNCEdit1.Lookup.ValueList.Clear;

for var i := 1 to 20 do
begin
TMSFNCEdit1.Lookup.DisplayList.Add('this is Item ' + i.ToString);
TMSFNCEdit1.Lookup.ValueList.Add(i.ToString);
end;
end;

I attached the small demo application.

TMSFNCEdit issue.zip (18.4 KB)

Hello,

Thank you for the demo. You did not forget any additional property or event; your lookup setup is correct.

Unfortunately, selecting an item from the TTMSFNCEdit lookup is currently not supported reliably on Android because of limitations in the FireMonkey mobile input/touch handling used by this control. The list can appear, but tapping an item does not complete the selection.

Here is a discussion and QC report with more information about the issue: TMSFNCEdit AutoComplete doesn't work on Android

Hello,

Thanks for your answer. Although it makes me feel very sad because I thought FNC components work the same on all platforms :frowning: .

Is there any plan to solve this?

Kind regards,

Erik

We try to make every component work as best as possible in all frameworks / operating systems, but unfortunately sometimes we are blocked by specific functionality that works differently. We reported the issue, and so far couldn't really find a decent workaround, the keyboard hooking on Android simply works differently and is asynchronous.

Hey Pieter,

I understand. But according to me nothing is wrong with the keyboard. The filtering is working fine. Only the lookup does not accept any tap or scrolling.