File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/forms/resources/views/components Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 2626 $suffixIconColor = $getSuffixIconColor ();
2727 $suffixLabel = $getSuffixLabel ();
2828 $statePath = $getStatePath ();
29- $state = $getState ();
29+ $state = $getRawState ();
3030 $livewireKey = $getLivewireKey ();
3131@endphp
3232
@@ -161,7 +161,7 @@ class="fi-hidden"
161161 hasInitialNoOptionsMessage: @js ($hasInitialNoOptionsMessage ),
162162 initialOptionLabel: @js ((blank ($state ) || $isMultiple ) ? null : $getOptionLabel () ),
163163 initialOptionLabels: @js ((filled ($state ) && $isMultiple ) ? $getOptionLabelsForJs () : [] ),
164- initialState: @js (is_array ( $state ) ? $state : ( $state !== null ? ( string ) $state : null ) ),
164+ initialState: @js ($state ),
165165 isAutofocused: @js ($isAutofocused ),
166166 isDisabled: @js ($isDisabled ),
167167 isHtmlAllowed: @js ($isHtmlAllowed ),
You can’t perform that action at this time.
0 commit comments