F
Filament15mo ago
Wirkhof

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
WirkhofOP15mo ago
I have tried ->inline(true) but it's not working.
Tieme
Tieme15mo ago
This needs to be it Checkbox::make('is_admin')->inline()
Wirkhof
WirkhofOP15mo 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
Tieme15mo ago
Do you need a select or a checkbox what do you want?
Wirkhof
WirkhofOP15mo ago
select
Tieme
Tieme15mo ago
Sorry, misread the question. What you want is not possible.
Wirkhof
WirkhofOP15mo ago
ok, thanks anyway.
Wirkhof
WirkhofOP15mo ago
Interesting solution. Will try. Thank you.

Did you find this page helpful?