Action::make('invite_crews')
->modalWidth(Width::FiveExtraLarge)
->schema([
TableSelect::make('crew_ids')
->hiddenLabel()
->schema([
// I have no idea why this makes multi-select work
TextInput::make('literally_whatever_here')->hidden(),
])
->tableConfiguration(AvailableCrewsTable::class)
->required()
->multiple(), // not enough on its own.
])
Action::make('invite_crews')
->modalWidth(Width::FiveExtraLarge)
->schema([
TableSelect::make('crew_ids')
->hiddenLabel()
->schema([
// I have no idea why this makes multi-select work
TextInput::make('literally_whatever_here')->hidden(),
])
->tableConfiguration(AvailableCrewsTable::class)
->required()
->multiple(), // not enough on its own.
])