Adam Holmes
Price (in pence) field - show result in pounds in suffix/or somewhere else that's sensible
I use a plugin for this: https://filamentphp.com/plugins/pelmered-money-field
User enters an amount in £ (or your chosen currency) and then it converts to pennies on save.
6 replies
ToggleButtons are requiring a double-click to change their state
This sounds similar to what I was experiencing with actions here: https://discord.com/channels/883083792112300104/1296415497037938729/1296437496288116746
@ChesterS made the suggestion of setting lazy = true which did the trick for me - maybe you can try that
Sadly, no explanation why this works, but it did 😂
27 replies
Page header in topbar
There was some chatter about this here: https://discord.com/channels/883083792112300104/883084832387760148/1288922950107398257
There's a few messages further up too
It might at least point you in the right direction
12 replies
Prepopulate constraints
I did try the QS method, but parts of it are dynamic for example - in the below
ZC21
is dynamic and changes each time
http://localhost/my-page?tableFilters[queryBuilder][rules][ZC21][type]=from&tableFilters[queryBuilder][rules][ZC21][data][operator]=contains&tableFilters[queryBuilder][rules][ZC21][data][settings][text]=adam6 replies
Actions in table column view not triggering
Fair enough - I guess I've just overlooked that and never needed to use actions this way. All of my actions are snake case so
do_something_cool
. I guess it wasn't clear from the docs as they're all 1 word actions like delete / edit etc
Thanks for the help 🙂14 replies
Actions in table column view not triggering
I wonder whether this has anything to do with it - I'm rendering an action outside a table, but displaying tables on the page. I am including the modals element though: https://github.com/filamentphp/filament/issues/11678
14 replies