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