© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
5 replies
knoxville48

Set default value for colorpicker.

I'm trying to set some default values for my colorpicker but the all fall back to 'black'. Probably because the value is empty. My code looks like this:

ColorPicker::make('color_2')->label('Kleur 2')->default('#00AB9A')->reactive()
ColorPicker::make('color_2')->label('Kleur 2')->default('#00AB9A')->reactive()

Any ideas?
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

colorpicker default value set
FilamentFFilament / ❓┊help
2y ago
set default value for toogle
FilamentFFilament / ❓┊help
10mo ago
Set default value for inputs
FilamentFFilament / ❓┊help
2y ago
set default value for select
FilamentFFilament / ❓┊help
3y ago