add textinput beside action

is there a way i put textinput beside action button ?
No description
12 Replies
toeknee
toeknee3mo 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
kirakatouOP3mo ago
so i disable current action like create, create another and cancel first, and then add action in form layout ?
toeknee
toeknee3mo ago
I don't follow from your screenshot..
kirakatou
kirakatouOP3mo ago
this is the full screenshot, the bottom layout suppose to be fixed
No description
toeknee
toeknee3mo 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
kirakatouOP3mo 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
toeknee3mo ago
So is that your design in filamentphp now?!? But yes you can use CSS to have fixed buttons
kirakatou
kirakatouOP3mo 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
toeknee3mo ago
No.. Just write some CSS that targets that row and then add it to the filament custom theme? Or a render hook.
kirakatou
kirakatouOP3mo ago
oh we can add custom class to row ?
toeknee
toeknee3mo ago
Inspect it, it has a row-summary class so just target the first one that has that?
kirakatou
kirakatouOP3mo ago
oh ok willl try it thanks

Did you find this page helpful?