Form in Dashboard

How to display a form in dashboard to collect data from users?
2 Replies
Mexata
Mexata7mo ago
maybe you could create a custom widget. https://filamentphp.com/docs/2.x/admin/resources/widgets and using html code to create a form. (this might help, im very new to all this. but just trying to help) But ive created custom widgets in my dashboard before and you can make anything in it but it would not have styling like all the other forms in filament, you would have to do the styling yourself.
awcodes
awcodes7mo ago
Widgets are just Livewire components which can have forms. Just create a widget then follow the steps here: https://filamentphp.com/docs/3.x/forms/adding-a-form-to-a-livewire-component#adding-the-form
Want results from more Discord servers?
Add your server