Hi,
I'm using already in pure webform project TWebEditAutocomplete without issue.
Now, I'm trying to integrate it in an HTML Template.
Unfortunately, I get an error during FormCreate I guess
index.html:81 Uncaught SyntaxError: Unexpected token '-'
at Object.AddScript (WEBLib.EditAutocomplete.pas:451:1)
at Object.UpdateElement (WEBLib.EditAutocomplete.pas:614:3)
at Object.SetShowFocus (WEBLib.Controls.pas:2628:5)
at Object.CreateInitialize (WEBLib.StdCtrls.pas:2182:3)
at Object.CreateInitialize (WEBLib.EditAutocomplete.pas:220:3)
at Object.CreateWithID (WEBLib.Controls.pas:1978:3)
at Object.Create$2 (WEBLib.Controls.pas:1679:3)
at c.$create (rtl.js:332:1)
at Object.LoadDFMValues (Form_AutoComplete.pas:72:41)
at Object.DoCreate (WEBLib.Forms.pas:2687:3)
rtl.js:266 Uncaught ReferenceError: doautocomplete is not defined
at Object.UpdateElement (WEBLib.EditAutocomplete.pas:747:1)
at Object.SetShowFocus (WEBLib.Controls.pas:2628:5)
at Object.CreateInitialize (WEBLib.StdCtrls.pas:2182:3)
at Object.CreateInitialize (WEBLib.EditAutocomplete.pas:220:3)
at Object.CreateWithID (WEBLib.Controls.pas:1978:3)
at Object.Create$2 (WEBLib.Controls.pas:1679:3)
at c.$create (rtl.js:332:1)
at Object.LoadDFMValues (Form_AutoComplete.pas:72:41)
at Object.DoCreate (WEBLib.Forms.pas:2687:3)
at Object.Create$5 (WEBLib.Forms.pas:2843:3)
TWebEditAutoComplete elementid is targeting an DIV in HTML page as describe in documentation
This happens with debug and release modes
Any idea about root cause ?