ColorPicker->default() #12833
mauricekindermann
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I would really love to be able to set a default color to the ColorPicker. It would work with any string using the correct ->hsl ->hex ->rgb, etc.
Right now I have to do this:
But this would be much cleaner
Either way the end result is very nice and doesn't require any additional libraries.
I did see a library attempting to do something similar with ->options() and tailwind colors, but I think that's a bit more domain dependant.
Maybe I'm overlooking something obvious and this is already possible, but I wasn't able to get it working.
Beta Was this translation helpful? Give feedback.
All reactions