© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago
marty6236

Placeholder sumarize

Hi, I would like to ask how to calculate the total price of a product if it has 2 pieces?? I tried this but it didn't work

Placeholder::make('total')
->content(function (Get $get): string {
return '€' . number_format($get('cost') * $get('quantity'), 2);
}) Thank you for your advice
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Sumarize IF.....
FilamentFFilament / ❓┊help
16mo ago
Placeholder overflow
FilamentFFilament / ❓┊help
2y ago
Inline placeholder
FilamentFFilament / ❓┊help
3y ago
Form Component Placeholder
FilamentFFilament / ❓┊help
2y ago