Alexandre
Disable back button for wizard on modal
Hi.
You have this method :
->previousAction()
So you can try that :
->previousAction(fn (Action $action): Action => $action->extraAttributes(['class' => 'hidden']))
Cf. https://github.com/filamentphp/filament/discussions/9942#discussioncomment-77022425 replies
Incremental itemLabel for repeater
I found a solution on Github for those who are looking too :
And that work like expected 🥳
Source : https://github.com/filamentphp/filament/discussions/8565#discussioncomment-7031649
7 replies
afterStateUpdated not work on custom field
Here you are : https://gist.github.com/AlexandreCConcept/0e7ec7bf3bb5b2f2c54ec5fc8803f23c
Thanks for your time
14 replies
afterStateUpdated not work on custom field
Thanks again for your help.
I just made the change.
I don't get my DD() if I click on one of my radio buttons from my CylinderType input.
However, I've noticed that if I click on any other input with a ->live() method, the DD() from my afterStateUpdated() appears.
14 replies
afterStateUpdated not work on custom field
Thanks for your reply 🙂
I've just tried it, but it's the same thing: when I click on one of my inputs, nothing happens...
Is there anything missing in my component view to make the
afterStateUpdated()
functional?
My aim is to change the value of another field according to what we've chosen. Maybe is there any other way?14 replies
Click record without jumping
on your resource class, add this :
return $table->recordUrl(null)
https://filamentphp.com/docs/3.x/tables/advanced#record-urls-clickable-rows14 replies
Shared panel session
👋
I've similar case in my project (one panel for Users and another for admin and super_admin) and I wanted to use the same login form.
Here's how I did it (it may not be the best way, but it works 😅)
I use the method
canAccessPanel
in my User Model like this :
And in my web.php
route file I've made a little change for the base URL :
And I've made a little helper to manage the redirection :
So, from the same form and according to your role, you're directed to the right panel. 👍6 replies