Required Title field still validates on disabled Matrix block #18611
Closed
alexander-dal
started this conversation in
General
Replies: 1 comment 1 reply
-
|
Thanks for reporting that! No, not intended behavior. Fixed for the next release. (f79609c) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I noticed a behavior with Matrix fields and I wanted to ask whether this is intended or a bug.
Steps to reproduce:
1. Create a Matrix block with entry types
2. Add a new block
3. Leave the required Title field empty
4. Disable the block
5. Save the entry
What happens:
Craft shows a validation error saying that the Title field is required and cannot be empty.
What I would expect:
Since the block is disabled, I would expect it not to be validated in the same way as enabled blocks, or at least not to block saving because of the required Title field. Since other required fields inside the same disabled block do not seem to throw validation errors.
Is this intended behavior?
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions