Skip to content

Odd saving behavior when editing a form #2795

@CassadyTransom

Description

@CassadyTransom

Describe the bug

When editing a dropdown field in Formie, if there is no default option selected when you save, changes do not save. Once a default option is selected, any changes to the form are saved after clicking save. Oddy, if you exit out of the form page after saving and go back to the editor, the changes save properly even with no default option selected.

Steps to reproduce

  1. Create a Form
  2. Add a dropdown field and populate with some options, without selecting one as a default
  3. Save
  4. Try editing the field by adding a new option
  5. "Apply" then "Save"
  6. Without leaving the page open up the settings for the dropdown field, the changes are not their anymore.

Form settings

  • Multi-page form: Yes
  • Submission Method: Ajax
  • Client-side Validation: Yes
  • Custom Form Templates: No

Craft CMS version

4.17.12

Plugin version

latest

Multi-site?

No

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions