Ehsan
File upload with Livewire component
The solution is to save the relationships manually with model creation. Means, if you are passing
Model::class
to the ->model(Model::class);
form creation method, you have to manually save the relationships by calling saveRelationships()
method on form
class.
$this->form->model($member)->saveRelationships();
4 replies
Unable to use colors on blade components in livewire form component
I was using
filament/filament
panel builder and not installed form builder
specifically. Followed this tailwindcss.config.js
configuration and it worked. Thank you.
My tailwind.config.js
file looks like this now
6 replies
Disabling dark mode for form component only
I am following this example https://filamentphp.com/docs/3.x/forms/adding-a-form-to-a-livewire-component
It can be either for the same form component or the whole page.
6 replies