add textinput beside action

is there a way i put textinput beside action button ?
No description
12 Replies
toeknee
toeknee2w ago
Just add another column next to the create? Or do you want th einput directly inline? If so you could try a suffixAction on the input which trigggers the create.
kirakatou
kirakatouOP2w ago
so i disable current action like create, create another and cancel first, and then add action in form layout ?
toeknee
toeknee2w ago
I don't follow from your screenshot..
kirakatou
kirakatouOP7d ago
this is the full screenshot, the bottom layout suppose to be fixed
No description
toeknee
toeknee7d ago
I think is your create invoice an normal action? What about having a modal form ? ->form([]) on the action so it's a popup instead?
kirakatou
kirakatouOP7d ago
ya create invoice is just save button. i dont think i have decision to change the design, is there a way i make customize layout for it to be sticky bottom ?
toeknee
toeknee7d ago
So is that your design in filamentphp now?!? But yes you can use CSS to have fixed buttons
kirakatou
kirakatouOP7d ago
for the form yes, just having problem for that sticky layout since the action button is seperate from form. how do i do this ? do u have link for the doc ?
toeknee
toeknee7d ago
No.. Just write some CSS that targets that row and then add it to the filament custom theme? Or a render hook.
kirakatou
kirakatouOP7d ago
oh we can add custom class to row ?
toeknee
toeknee7d ago
Inspect it, it has a row-summary class so just target the first one that has that?
kirakatou
kirakatouOP7d ago
oh ok willl try it thanks

Did you find this page helpful?