mrdarknezz
Select field in headerActions of $table is missing values
$table
->headerActions([
Action::make('generate')
->label('Generera')
->form([
Select::make('categoryIds')
->relationship('categories', 'name')
->multiple()
->createOptionForm([
Forms\Components\TextInput::make('name'),
]),
])->action(
function (array $data) {
dd($data);
}
)
])
6 replies