Select::make('bucket')
->required()
->live()
->afterStateUpdated(
function($state, callable $set) use ($form) {
//some code here?
}
)->options(['public','private'])
Select::make('bucket')
->required()
->live()
->afterStateUpdated(
function($state, callable $set) use ($form) {
//some code here?
}
)->options(['public','private'])