Thigah Alattass
Select [all options] of dropdown inside repeater
I have (not multiple) select inside a repeater
i use the repeater when i want to select more than one option
i need to be able to select all options either by add a new option to dropdown or any other way such as radio
13 replies
Dependent select input
I need feature_id dropdown to be populated depending on test_type value
but $get('test_type') is giving me null
->schema([
Forms\Components\Group::make()
->schema([
Forms\Components\Card::make()
->schema([
Card::make()->schema([
TextInput::make('name')->required(),
]),
Select::make('test_type')
->required()
->options([
'auto-test' => 'Auto Test',
'stress-test' => 'Stress Test',
])
->reactive(),
//->afterStateUpdated(function(callable $set){$set('feature_id',null);
// }), Forms\Components\MarkdownEditor::make('notes') ->columnSpan('full'), Forms\Components\Select::make('status') ->default('pending') ->options([ 'pending' => 'Pending', 'processing' => 'Processing', 'completed' => 'Completed', 'failed' => 'Failed', 'has error' => 'Has Error', ]) ->hiddenOn('create'),]) ->columns(2),
// }), Forms\Components\MarkdownEditor::make('notes') ->columnSpan('full'), Forms\Components\Select::make('status') ->default('pending') ->options([ 'pending' => 'Pending', 'processing' => 'Processing', 'completed' => 'Completed', 'failed' => 'Failed', 'has error' => 'Has Error', ]) ->hiddenOn('create'),]) ->columns(2),
8 replies