© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
1 reply
hxnnxs

Don't show workers count

Hey, guys! I am writing the widget code, the widget shows 0 instead of the actual number of employees. Code
        Stat::make('Number of workers', Company::find(Filament::getTenant())->first()->companyStuffs->count())
            ->chart([0 , 0.5, 1, 1.5])
                ->color('success'),
        Stat::make('Number of workers', Company::find(Filament::getTenant())->first()->companyStuffs->count())
            ->chart([0 , 0.5, 1, 1.5])
                ->color('success'),
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

TextInput, don't count stripped characters?
FilamentFFilament / ❓┊help
12mo ago
Action : Modal don't show
FilamentFFilament / ❓┊help
3y ago
Tailwind classes don't show in view
FilamentFFilament / ❓┊help
2y ago
Fileupload don't show media on Chrome
FilamentFFilament / ❓┊help
3y ago