Skip to content

Commit 8a1c960

Browse files
committed
Fix Vizy fields failing to validate Vizy blocks, when only Vizy blocks are present in the field.
1 parent 806f70d commit 8a1c960

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/fields/VizyField.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -428,6 +428,7 @@ public function getElementValidationRules(): array
428428
[
429429
'validateBlocks',
430430
'on' => [Element::SCENARIO_ESSENTIALS, Element::SCENARIO_DEFAULT, Element::SCENARIO_LIVE],
431+
'skipOnEmpty' => false,
431432
],
432433
];
433434
}

0 commit comments

Comments
 (0)