DanielHe4rt / sos-rs

35 stars 8 forks source link

Filament Forms Proposal #6

Open ijpatricio opened 6 months ago

ijpatricio commented 6 months ago

Hey @DanielHe4rt

I just submitted, a new branch, with a Filament Form proposition. https://github.com/DanielHe4rt/sos-rs/tree/filament-forms-proposal.

Just head to the route /form-page and you will see a Form, just like on a Panel. See https://github.com/DanielHe4rt/sos-rs/blob/filament-forms-proposal/app/Livewire/CommunicationHandler.php

I understand that without comfort in TailwindCSS it can be hard to switch just over night. So, what we can also do, is to have dedicated pages just for the form(s). I'll make it match theme/colors etc.... I believe this is so much faster to build these forms. Actions, Modals, Slideovers, are abstracted into just event dispatches, based on ID, becomes real simple.

The other way is relying in LW and Bootstrap, meaning that Modals and other JS interactions have to be done manually.

Also, see attached pictures. No need to build frontend!

Let me know what you think!

image

image

DanielHe4rt commented 6 months ago

It looks really good for me not gonna lie.

My problem with front-end is that I have to write HTML/CSS. However, if there's a solution like that to make our life easier, for me, it's a win/win situation.

I know that we will have to write small pieces of front-end but let's try to stay with the minimum here.

LGTM!