Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Date fields not saving when inside of a group #1853

Closed
amphibian opened this issue Apr 25, 2024 · 2 comments
Closed

Date fields not saving when inside of a group #1853

amphibian opened this issue Apr 25, 2024 · 2 comments

Comments

@amphibian
Copy link

amphibian commented Apr 25, 2024

Describe the bug

If a date field is placed inside of a field group, an error is encountered upon saving a submission:

Undefined property: DateTime::$date

If I move the date field outside of the group, it saves correctly.

Steps to reproduce

  1. Create a date field.
  2. Place it inside of a group.
  3. Create a submission.

Form settings

  • Multi-page form: No
  • Submission Method: Page Reload
  • Client-side Validation: No
  • Custom Form Templates: No

Craft CMS version

5.0.5

Plugin version

3.0.0-beta.8

Multi-site?

No response

Additional context

No response

@engram-design
Copy link
Member

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

@engram-design
Copy link
Member

Fixed in 3.0.0-beta.9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants