react-admin-color-input
react-admin-color-input copied to clipboard
Show color in ColorInputComponent, just like in ColorFieldComponent
Add a square, showing the current color of the ColorInputComponent, just like it is shown in ColorFieldComponent.
Any news on if this can be merged? it would be a great feature
I have published a fork of this package, called @palustris/react-admin-color-input. My package contains this change, but also a few others, ie. easier navigation using the keyboard.
Thanks @gartner
@gartner Thank you very much for your updated version. Maybe you can add support for empty values in ColorField. Currently it crashes because of ColorDot "TypeError: Cannot read property '0' of undefined"
@gartner Thank you very much for your updated version. Maybe you can add support for empty values in ColorField. Currently it crashes because of ColorDot "TypeError: Cannot read property '0' of undefined"
I will have a look at it. Added an issue for it here https://github.com/gartner/react-admin-color-input/issues/1