A set of Blade components to rapidly build forms with Tailwind CSS (v1.0 and v2.0) and Bootstrap 4/5. Supports validation, model binding, default values, translations, Laravel Livewire, includes default vendor styling and fully customizable!
I am working with bootstrap 4, the issue is that I have a form that is edit and always in the select I select the first option instead of editing me to mark the selected option and registered in the database.
Am I missing some other attribute or not?
Controller
public function chooseTenant(){
$tenants = Auth::user()->tenants->pluck('name','id');
return view('switchAccount',['model'=>$tenants]);
}
I am working with bootstrap 4, the issue is that I have a form that is edit and always in the select I select the first option instead of editing me to mark the selected option and registered in the database.
Am I missing some other attribute or not?