craft-neo
craft-neo copied to clipboard
Conditional fields based on parent block values don't hide until draft save
Bug Description
When you have a child block with conditional fields set to show/hide based on a condition in the parent block (a dropdown value in this case), all fields in the child block show on block creation and the appropriate fields only hide after content is changed/a draft is saved.
Steps to reproduce
- Create a Neo block with a dropdown field
- Create a child block with 1 block minimum and several fields set to hide based on the selection of the dropdown
- Create an instance of the field
Expected behaviour
Fields with visibility conditions will show/hide on block creation
Neo version
5.2.6
Craft CMS version
5.4.4
What is the affected Neo field's propagation method?
No response
Does this issue involve templating, and if so, is eager-loading used?
This is not a templating issue