Custom Schema V4

Hello, i have a problem with making new custom Schema in InfoList
I want to make new instance of Schema and working ith custom data inside an
        $customSchema = Schema::make($livewire)
            ->record(User::first())
            ->components([
                Action::make('testAction')->requiresConfirmation(),
                Infolists\Components\TextEntry::make('id'),
            ]);


i set record as custom (User model)
in components, TextEntry can render model and show ID, but when clicking on Action, modal is not opening
Was this page helpful?