verbb / formie

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

Getting JS Error this.getPlaceholders is not a function after update #1811

Closed lennonpuype closed 2 months ago

lennonpuype commented 2 months ago

Describe the bug

During a simple render by doing {{ craft.formie.renderForm(form) }} I get a Javascript error: Uncaught TypeError: this.getPlaceholders is not a function.

Screenshot 2024-04-10 at 09 54 54

Regarding to the files where the errors are happening, I found this is because of the Duplicate and Javascript Captcha of the form. When I disable these they I don't get the error. For now I have just disabled them, but this is of course e temporary solution for now.

Steps to reproduce

  1. Create a form
  2. Make sure the Captcha's Duplicate & Javascript are enabled in the integrations tab
  3. Render the form by using {{ craft.formie.renderForm(form) }}

Form settings

Craft CMS version

5.0.3

Plugin version

3.0.0-beta.5

Multi-site?

No

Additional context

No response

engram-design commented 2 months ago

Fixed for the next release. To get this early, run composer require verbb/formie:"dev-craft-5 as 3.0.0-beta.6".

engram-design commented 2 months ago

Fixed in 3.0.0-beta.7