Mark Chaney
Pesting form builder with upload file
did you get this working? I think version 3.2.83 breaks single file uploads as it converts them all to an array regardless. My production code works and nothing changed but now the tests fail and its because of https://github.com/filamentphp/filament/commit/888701082d4ccc371d194041bbe53c4f4b9b00f1#diff-eab80cbdc04e95db87de932c13eb10bc20b8734a930ff88999fa3777e784971bR46
13 replies
Automatically set input field through the input of another field?
You would use afterStateUpdated() with $state and $set(‘price’) to do it. Why are you using an enum for packages? Isn’t the package resource a table of packages with names and associated prices?
7 replies
Testing and requiresConfirmation
so it looks like the issue was really more with me doing originally, which while was fine if i wanted to call just that action, but didnt allow the follow up ->callMountedTableAction() to handle the confirmation? Thus i had to do instead before it?
21 replies