Gohan
Gohan
FFilament
Created by Gohan on 1/30/2025 in #❓┊help
Input Blade Component Suffix Action
it does break the sidepanel but i think that's for another thread
12 replies
FFilament
Created by Gohan on 1/30/2025 in #❓┊help
Input Blade Component Suffix Action
yeah, apparently i could do it like this:
@livewire('email-modal')
@livewire('email-modal')
i don't know why i made my life so difficulat. anyway, just have to include the implements and use
class EmailModal extends Component implements HasForms, HasActions
{
use InteractsWithForms, InteractsWithActions;
class EmailModal extends Component implements HasForms, HasActions
{
use InteractsWithForms, InteractsWithActions;
edit: i have a viewfield and in that viewfield, i'm displaying another livewire component with more filament forms calling the method form(). trying to display the livewire component as is will wreck your app. you have to define a form with a different name and give it a different state path like in here: https://filamentphp.com/docs/3.x/forms/adding-a-form-to-a-livewire-component
12 replies
FFilament
Created by Gohan on 1/30/2025 in #❓┊help
Input Blade Component Suffix Action
i'm looking into it right now. do i just call livewire like this?
@livewire()
@livewire()
12 replies
FFilament
Created by Gohan on 1/30/2025 in #❓┊help
Input Blade Component Suffix Action
i'm actually not sure if i could just do that but what i'm doing is i have a ViewField::make() that displays sort of an action banner. in that action banner, there's a button that's supposed to bring up a modal. I couldn't find any way to use filament components the usual way so i'm doing this right now. if i may ask, is there actually a way to use filament components the "usual way"?
12 replies
FFilament
Created by Gohan on 1/30/2025 in #❓┊help
Input Blade Component Suffix Action
i was looking for a specific suffix action kind of wrapper but i'll try combining a suffix icon and icon button
12 replies
FFilament
Created by Gohan on 1/30/2025 in #❓┊help
Input Blade Component Suffix Action
i actually already saw the documentation but now that you pointed me to it again. is it actually the combination of a suffix icon and an icon button blade component from https://filamentphp.com/docs/3.x/support/blade-components/icon-button?
12 replies
FFilament
Created by Gohan on 1/30/2025 in #❓┊help
Input Blade Component Label
Apparently, you can do it like this:
<x-filament-forms::field-wrapper>
<x-filament-forms::field-wrapper.label>
Redirect Link
</x-filament-forms::field-wrapper.label>
<x-filament::input.wrapper>
<x-filament::input type="text" wire:model="name" />
</x-filament::input.wrapper>
</x-filament-forms::field-wrapper>
<x-filament-forms::field-wrapper>
<x-filament-forms::field-wrapper.label>
Redirect Link
</x-filament-forms::field-wrapper.label>
<x-filament::input.wrapper>
<x-filament::input type="text" wire:model="name" />
</x-filament::input.wrapper>
</x-filament-forms::field-wrapper>
4 replies
FFilament
Created by Gohan on 11/17/2024 in #❓┊help
Filament User Registration Error
I actually found out just now. I was cycling through the commands I ran. I was thinking of deploying my app so I ran
php artisan filament:optimize
php artisan filament:optimize
without thinking about what it does. So after running php artisan
filament:optimize-clear
filament:optimize-clear
I was able to register a user.
2 replies