What happened?
Description
When a field in a field layout is replaced, existing field conditions are not updated to point to the new field.
Steps to reproduce
- Create an entry type with two fields
field_a and field_b.
- Add a visibility entry condition to
field_b to only show up when field_a has a value.
- Replace
field_a with a new field (field_c).
- In the field layout,
field_a still has the diamond icon indicating a field condition. But opening the field doesn't show any field conditions.
Expected behavior
When a field is replaced, all field conditions in that field layout should be updated to reflect the change.
Actual behavior
See above.
Craft CMS version
5.10.14
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
What happened?
Description
When a field in a field layout is replaced, existing field conditions are not updated to point to the new field.
Steps to reproduce
field_aandfield_b.field_bto only show up whenfield_ahas a value.field_awith a new field (field_c).field_astill has the diamond icon indicating a field condition. But opening the field doesn't show any field conditions.Expected behavior
When a field is replaced, all field conditions in that field layout should be updated to reflect the change.
Actual behavior
See above.
Craft CMS version
5.10.14
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