ChesterS
Prevent form from closing and show error on action form submit
Hmm I've been trying things out (throwing 💩 in the wall pretty much haha). Not sure if this is better or worse?
It feels like there should be a better way of doing this 🤔 Anyway, if it works...¯\_(ツ)_/¯
14 replies
Prevent multiple calls to the same model
I guess that's up to you to decide. I just said that because sometimes an extra
find
query is no big deal.
In any case, if you're in laravel 11+, have a look at this too https://flanger.dev/blog/post/avoid-duplicate-queries-in-filament-closures-for-eloquent-records8 replies
Way to only allow numeric in search dropdown for filament select element?
Sorry I've never had to deal with VoiceOver Screen so I don't know 😦 (I don't even know how to test this). Maybe a different event (other than
keydown
?)
BTW there's a bug in the above suggestion - it also ignores the backspace so you can't delete anything 😅11 replies
Additional actions in wizard step
I don't think you will find anything. From what I can see in the template, there's nothing that can be used to add extra buttons
vendor/filament/forms/resources/views/components/wizard.blade.php
Could be wrong though ¯\_(ツ)_/¯8 replies
Get the block's key when using ->extraItemActions()
What do you mean 'what type of block it is?'
You can get the uuid in the
$arguments
parameter
An example can be found here
https://filamentphp.com/docs/3.x/forms/fields/repeater#adding-extra-item-actions-to-a-repeater5 replies