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

[4.2.5.2]: Table fields not remembering their Default Values row #12071

Closed
dan3e opened this issue Oct 6, 2022 · 3 comments
Closed

[4.2.5.2]: Table fields not remembering their Default Values row #12071

dan3e opened this issue Oct 6, 2022 · 3 comments
Assignees

Comments

@dan3e
Copy link

dan3e commented Oct 6, 2022

What happened?

Description

Table fields don’t save deleted rows for their Default Values setting.

Steps to reproduce

  1. Create a Table field
  2. Delete the first row of the Default Values settings
  3. Save the field

Expected behavior

Remove the first row of the Default Values.

Actual behavior

The first row comes back everytime I save

Craft CMS version

4.2.5.2

PHP version

8.0.8

Operating system and version

No response

Database type and version

No response

Image driver and version

No response

Installed plugins and versions

@i-just
Copy link
Contributor

i-just commented Oct 10, 2022

Hi, Thanks for reporting this. It looks like the saving part is working as expected - as in it's actually saving the fact that you don't want any default values to show, but the feedback you get when creating/editing a field is confusing as it always shows at least one default row. I've created a pull request to action this.

@brandonkelly
Copy link
Member

brandonkelly commented Oct 10, 2022

#12079 has been merged for the next release!

@brandonkelly
Copy link
Member

Craft 4.2.6 is out with that fix. Thanks again!

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

No branches or pull requests

3 participants