Skip to content

Commit 4cdecdd

Browse files
committed
Update ComponentSupport.php
1 parent a716a92 commit 4cdecdd

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

src/ComponentSupport.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,11 @@ public static function apply(mixed $control, ComponentAttributeBag $attributes):
2222
{
2323
foreach ($attributes->getAttributes() as $key => $value) {
2424
if (array_key_exists($key, self::FLAG_METHODS)) {
25-
if ($value === false || $value === null) {
25+
if ($value === false) {
26+
continue;
27+
}
28+
29+
if ($value === null) {
2630
continue;
2731
}
2832

0 commit comments

Comments
 (0)