Skip to content

Commit

Permalink
cs
Browse files Browse the repository at this point in the history
  • Loading branch information
smnandre committed Jan 8, 2025
1 parent 2c6a96f commit cd353fc
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 @@ -277,7 +277,7 @@ private function extractFormValues(FormView $formView): array
)
&& !$child->vars['expanded'] // is a <select> (not a radio/checkbox)
&& !$child->vars['multiple'] // is not multiple
&& !is_string($child->vars['placeholder']) // has no placeholder (empty string is valid)
&& !\is_string($child->vars['placeholder']) // has no placeholder (empty string is valid)
) {
$choices = $child->vars['choices'];
do {
Expand Down

0 comments on commit cd353fc

Please sign in to comment.