[Fixed] Autocomplete not working 2

The online editor is not showing any autocompleteoptions while typing.

Looking at the console, it appears to be in error:

Could not load content for webpack://Anvil/workers/autocompleter/AutoCompleter.ts (Fetch through target failed: Target not supported; Fallback: HTTP error: status code 404, net::ERR_UNKNOWN_URL_SCHEME)

Edit: Apparently this is happening only in a specific form of a specific app, but I don’t know whatś causing it…

Could you share the imports for that form? Could be something from those that are causing an issue.

There was no import in that form. It was empty code-wise. It only had basic visual components in the designer mode.

I “fixed” the component by creating a new one and copying each element to the new component, since it was only a few basic components there and it’s now working as a new form. Weird.

Ok, I “managed” to make it stop working again (what a life it is when you need to make something STOP working): The component was working fine UNTIL I informed the form item type. As soon as I did it, I checked the autocomplete and sure enough it stopped working.

If I clear the selected type, it starts working again. Maybe this has something to do with the new Model classes? I don’t have any in my app for the moment.

1 Like

Sounds plausible we’ll take a look

Edit - yeap that’s the issue - we’ll get that fixed

2 Likes

This appears to be solved right now.

1 Like