verbb / formie

The most user-friendly forms plugin for Craft CMS.
Other
93 stars 68 forks source link

Form fields won't load on edit page #1899

Closed chrismlusk closed 1 month ago

chrismlusk commented 1 month ago

Describe the bug

When attempting to edit a form, the form layout doesn't load — the page is stuck on the loading spinner. I don't see any console errors or network errors, either. However, this only happens on production. Everything works fine in local dev.

edit-form

When checking the other tabs, most fields are rendered, but there are some that do not:

I've tried Chrome, Safari, Firefox... private mode... cleared caches... etc. to no avail.

Craft CMS version

4.9.4

Plugin version

2.1.15

engram-design commented 1 month ago

Quick one - do you use Cloudflare, and do you have their RocketLoader enabled? In the past, that's interfered with Formie's JS. Certainly seems like a JS loading issue here.

chrismlusk commented 1 month ago

The site does use Cloudflare, but RocketLoader is not enabled.

engram-design commented 1 month ago

Hmmm, might be worth poking around any settings in there related to JS, in case anything is enabled. Very odd no JS errors are shown in the console though.

chrismlusk commented 1 month ago

Will do. It's odd because as far as I know, nothing has been updated in a few days. We made a heap of form field changes last week — the only deployment was a stencil update, though — and everything was working as expected.

I'll see if I can track down anything helpful and report back. Thanks!

chrismlusk commented 1 month ago

Well, I didn't do anything, but the edit pages are loading as expected again. No clue! I'll close this for now.