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

Did you find this page helpful?