Skip to content

Show color in ColorInputComponent, just like in ColorFieldComponent#7

Open
gartner wants to merge 1 commit into
vascofg:masterfrom
gartner:show-color-in-input
Open

Show color in ColorInputComponent, just like in ColorFieldComponent#7
gartner wants to merge 1 commit into
vascofg:masterfrom
gartner:show-color-in-input

Conversation

@gartner

@gartner gartner commented Oct 19, 2020

Copy link
Copy Markdown

Add a square, showing the current color of the ColorInputComponent, just like it is shown in ColorFieldComponent.

@Chrisgolden77

Copy link
Copy Markdown

Any news on if this can be merged? it would be a great feature

@gartner

gartner commented Jan 25, 2021

Copy link
Copy Markdown
Author

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.

@Chrisgolden77

Copy link
Copy Markdown

Thanks @gartner

@notz

notz commented Feb 2, 2021

Copy link
Copy Markdown

@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

gartner commented Feb 2, 2021

Copy link
Copy Markdown
Author

@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 gartner#1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants