What is the way to implement Autocomplete
or Autosuggest
with Delphi/Firemonkey for Windows/Android platforms as well as MacOS and iOS?
In the previous answer for Delphi XE10 change line
Result := TStyledSuggestEdit.Create(nil);
to
Result := TStyledSuggestEdit.Create(nil, Model, PresentedControl);
in the function TStyleSuggestEditProxy.CreateReceiver: TObject;
Plus change Data.Key = 'Suggestions' to Data.Key = 'suggestions'
in the TStyledSuggestEdit.MMDataChanged