Component not found on select with native(false) and searchable()

Hi all !
I have a wizard form for my resource (create and edit) but I have a small problem on a specific Select field once the native and/or searchable is activated.

Livewire Entangle Error: Livewire property ['data.products.xxx.content.key_brand'] cannot be found on component: ['app.filament.resources.request-resource.pages.create-request']

I'm not sure why, but it ONLY does it for me on this field. I have other selects in my form with native(false) and searchable() that don't have this problem. If I leave one of the 2 methods, I get the error. If I remove the 2 methods: no error.

Here the field (content.key_brand) :

return Step::make('step_2')
    ->schema([
        Repeater::make('products')
                ...
                ->schema([
                    Select::make('content.type')->options([...])->live(),
                    // Product details
                    Section::make('product_details')
                            ->schema(fn(array $state) => $state['content']['type'] === 'Clé' ? [
                                Select::make('content.key_brand')
                                    ->options(KeyBrands::class)
                                    ->required()
                                    ->native(false)
                                    ->searchable(),
                            ])
                ])
    ])


On the CreateRequest.php, I've this method :

protected function getSteps(): array
    {

        return [
            RequestForm::getStep1RequestFormForAdmin(),
            RequestForm::getStep2RequestForm() //here is the method to get the Step,
            RequestForm::getStep3RequestForm(),
        ];
    }


My CreateRequest.php implements the HasWizard trait.
Do you know where the problem might be coming from?
Don't hesitate if you need any further information 😇
Was this page helpful?