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

[5.x]: Default radio field value isn't applied to existing entries #15743

Open
thupsi opened this issue Sep 16, 2024 · 1 comment
Open

[5.x]: Default radio field value isn't applied to existing entries #15743

thupsi opened this issue Sep 16, 2024 · 1 comment
Labels

Comments

@thupsi
Copy link

thupsi commented Sep 16, 2024

What happened?

Description

When creating a radio field with a default value and adding it to an entry's type layout, the default value isn't applied to existing entries.

Steps to reproduce

  1. Create a Radio Buttons field with a default value.
  2. Add this field to an entry's layout.

Expected behavior

All entries of above type should have the default value applied.

Actual behavior

No radio button is selected.

Craft CMS version

5.4.4

PHP version

No response

Operating system and version

No response

Database type and version

No response

Image driver and version

No response

Installed plugins and versions

@thupsi thupsi added the bug label Sep 16, 2024
@brandonkelly
Copy link
Member

This is currently expected behavior, but we’ll discuss whether it makes sense to “fake it” similar to how Dropdown fields work.

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

No branches or pull requests

2 participants