Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Autocomplete
#4
(06-09-2021, 05:54 PM)Jose Nilton Pace Wrote: Hi, try OnHTMLTag in your IWEdit:
Code:
procedure TIWForm1.IWEdit1HTMLTag(ASender: TObject; ATag: TIWHTMLTag);
begin
  ATag.AddStringParam('autocomplete', 'off');
end;
Uses IWHTMLTag.

I did something similar by adding autocomplete="off" to the "ExtraTagParams" of the IWEdit.
But when you programmatically fill or clear the IWEdit, this Tag is deleted and Autocomplete is back.

But:

(06-09-2021, 09:55 PM)kudzu Wrote: I think we have JQUI control that does this now?

Thanks to Kudzu, I found "Attributes", where (amongst others) you can set "iaAutocomplete", which does exactly what I was looking for.

So, question answered and problem solved.

Thank you!

Paul
Reply


Messages In This Thread
Autocomplete - by PaulWeem - 06-09-2021, 10:16 AM
RE: Autocomplete - by Jose Nilton Pace - 06-09-2021, 05:54 PM
RE: Autocomplete - by kudzu - 06-09-2021, 09:55 PM
RE: Autocomplete - by PaulWeem - 06-10-2021, 07:37 AM
RE: Autocomplete - by Alexandre Machado - 06-11-2021, 09:58 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)