#I suddenly got issue on Repeater after running composer update

8 messages · Page 1 of 1 (latest)

eternal quartz
#
Repeater::make('transfers')
                    ->schema([
                        Forms\Components\Select::make('transfer_type')
                            ->options([
                                Models\Division::class => __('Division'),
                                Models\Department::class => __('Department'),
                                Models\Position::class => __('Position'),
                                Models\PositionLevel::class => __('Position level'),
                                Models\Supervisor::class => __('Supervisor'),
                            ])
                            ->distinct()
                            ->native(false)
                            ->live(onBlur: true)
                            ->afterStateUpdated(function (Get $get, Set $set) {
                                $set('from_id', $this->getFromId($get('transfer_type')));
                            })
                            ->required(),
                        Forms\Components\Select::make('from_id')
                            ->label(__('From'))
                            ->disabled()
                            ->options(fn(Get $get) => static::getOptions($get('transfer_type')))
                            ->native(false)
                            ->dehydrated(true)
                            ->required(),
                        Forms\Components\Select::make('to_id')
                            ->label(__('To'))
                            ->native(false)
                            ->options(fn(Get $get) => static::getOptions($get('transfer_type')))
                            ->disableOptionWhen(fn(Get $get, string $value) => $get('from_id') == $value)
                            ->required(),
                    ])->columns(3)
lone elkBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> ✅ Mark Solution

summer shell
#

Yeah, im getting this same error, i guess is something with the searchable() on select fields

#

also, after composer update yesterday

#

the strange thing is that i downgraded filament and livewire versions to 3 week ago version, and the error still.

ebon echo
summer shell
#

Even after downgraded laravel it still not working for me. i will try to downgrade filament also too