How do I make a select box be on the same line as label in form?

Right now I have:
label
select box
label
select box
But I want the select box be on the same row as the label:
label select box
label select box
How to do that?
9 Replies
Wirkhof
Wirkhof5mo ago
I have tried ->inline(true) but it's not working.
Tieme
Tieme5mo ago
This needs to be it Checkbox::make('is_admin')->inline()
Wirkhof
Wirkhof5mo ago
I am getting Method Filament\Forms\Components\Select::inline does not exist. I need to use Select, or is there a way to "fake" checkbox options to look like a select box?
Tieme
Tieme5mo ago
Do you need a select or a checkbox what do you want?
Wirkhof
Wirkhof5mo ago
select
Tieme
Tieme5mo ago
Sorry, misread the question. What you want is not possible.
Wirkhof
Wirkhof5mo ago
ok, thanks anyway.
Wirkhof
Wirkhof5mo ago
Interesting solution. Will try. Thank you.