This is the problem: After spending quite some time googling and reading I found a solution (and yes, others have observed the same silly behaviour).
<quote source="https://bytes.grubhub.com/disabling-safari-autofill-for-a-single-line-address-input-b83137b5b1c7"> We didn’t have a label element, just an input with a placeholder value. Our solution was to add a name attribute with the word “search” in it. Safari considers “search” a valid AutoFIll value and maps it to an input that does not require AutoFIll, so it doesn’t attempt to check the values for placeholder or label. We were unable to find a Safari AutoFIll regex list ,such as the AutoFill Regex provided by Chrome. We cannot say which values other than “search” would prevent AutoFill from showing. <input type=“search” autocomplete=“off” placeholder=“Street address, city, state” name=“searchTerm” /> </quote> I have modified the Wonder component AjaxAutoComplete.java as follows: /** * Overridden to set the IDs for the field and the div tag. */ @Override public void awake() { super.awake(); divName = safeElementID() + "_div"; fieldName = safeElementID() + "_search_field"; // note: added the string "search" to the generated fieldname indicatorName = safeElementID() + "_indicator"; } This is very simple and fixes the issue. I don't know whether such a fix breakes someone's own project in case you rely on the naming of the field. Thus I decided to implement our own component based on the Wonder one and leave the frameworks alone. ---markus--- > On 29 Aug 2019, at 15:30, Samuel Pelletier <sam...@samkar.com> wrote: > > Hi Markus, > > I do not experience this problem on my side. I do not remember experienced it > either. I'm currently using Safari 12.1.2 on Mojave and on iOS 12.4 devices > with latest Wonder. > > The only problem I experience with AutoComplete is on iOS, the popup does not > appears at the field location. > > Samuel > > >> Le 29 août 2019 à 07:21, Markus Ruggiero via Webobjects-dev >> <webobjects-dev@lists.apple.com> a écrit : >> >> Seems there is a big issue with Safari and AjaxAutoComplete. The textfield >> is explicitly set to autocomplete="off" but Safari ignores this. So when the >> user starts typing Safari OVERLAYS the autocomplete list from the component >> with its own autocomplete stuff making the component's provided pick list >> unusable. The very same thing works correctly in Firefox. >> >> Anybody knows what is going on here and how to fix this? >> >> ---markus--- >> >> _______________________________________________ >> Do not post admin requests to the list. They will be ignored. >> Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) >> Help/Unsubscribe/Update your Subscription: >> https://lists.apple.com/mailman/options/webobjects-dev/samuel%40samkar.com >> >> This email sent to sam...@samkar.com >
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com