Stevee
Validating Percentage Inputs in a Repeater
Hello everyone,
I'm working on a project that involves a repeater for users to input percentages. I need to validate the input to meet the following criteria:
The total combined percentage of all entries in the repeater should not exceed 100% and not < than 50.
I'd appreciate any guidance or code examples on how to implement this validation effectively
7 replies
Add custom js to specific panel
I have more than 1 panel and I want to add custom js to specific panel, there is way to add it at https://filamentphp.com/docs/3.x/support/assets#registering-javascript-files , but it will load on all panel. so wondering is there method can use to add custom js at panel provider
3 replies
only can edit resource if delete the update policy
only can edit resource if delete the update policy from the model, even if I try the update policy to always return true can't allow me to update the resource, hope someone can guide me where to check why something blocking me from update the model
2 replies
Filament Spatie Translatable Plugin for relation model
how to do for the relation model at v3 ? it was fine at v2, did read the docs at https://github.com/filamentphp/spatie-laravel-translatable-plugin about the update but I think it only valid for translate the model itself
10 replies