Open vonscriptor opened 5 years ago
Tested with Radio Button and Color field types. Might be an issue with other fields with default values.
When a field is using a default value and that default value is then changed, the previous default value is still used when output in Twig.
Also, the values are then unselected/blank when editing an entry that uses the field and default value.
It’s an issue for all non-relational field types, which are storing static text in the database rather than foreign keys to some centralized value table.
Description
Tested with Radio Button and Color field types. Might be an issue with other fields with default values.
When a field is using a default value and that default value is then changed, the previous default value is still used when output in Twig.
Also, the values are then unselected/blank when editing an entry that uses the field and default value.
Steps to reproduce
Additional info