Skip to content

Commit

Permalink
cs
Browse files Browse the repository at this point in the history
  • Loading branch information
smnandre authored Jan 10, 2025
1 parent 29a442f commit 5a08cdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/LiveComponent/src/ComponentWithFormTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ private function extractFormValues(FormView $formView): array
// option, when the following conditions are met:
if (
\array_key_exists('choices', $child->vars)
&& $child->vars['choices'] // has defined choices
&& $child->vars['choices'] // has defined choices
&& $child->vars['required'] // is required
&& !$child->vars['disabled'] // is not disabled
&& '' === $child->vars['value'] // has no value set ("0" can be a value)
Expand Down

0 comments on commit 5a08cdb

Please sign in to comment.