I'm using Select::make('manager_id') - but I need to do some conditional if statements
Is there a way to retrieve my created Select::make('manager_id') so I can add additional parameters to it for a conditional statement?
1 Reply
For example, I want to say if this user is not in the role 'Super Admin' I want to add these options to the select box :
->default($user->id)->selectablePlaceholder(false)