verbb / formie

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

Craft 5: Changes to `Form Templates` for form are not reflect in CP dropdown #1800

Closed cmalven closed 2 months ago

cmalven commented 3 months ago

Describe the bug

When I change Form Templates option under Appearance for a form, the template is changed internally, but the next time I view the form, the dropdown is set to the default value of Default Form Template. This means that if I make any other changes to the form and save without also updating this dropdown, the template will be reset.

Steps to reproduce

  1. Create a custom form template
  2. Create a new form
  3. Assign the custom form template to the Form Templates dropdown for the form and save
  4. Refresh the form page

Expected: Form Templates reflects the saved custom template

Actual: Form Templates reverts to default value

https://github.com/verbb/formie/assets/610118/d4b6c1ba-a0e5-4fcf-9f5e-8c06694ea05c

Form settings

Craft CMS version

5.0.0

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.5".

engram-design commented 2 months ago

Fixed in 3.0.0-beta.6