viclafouch / mui-color-input

📌 A color input designed for MUI (Material ui) V6 built with TinyColor
https://viclafouch.github.io/mui-color-input/
60 stars 20 forks source link

Documented behaviour differs from actual behaviour ("format" prop) #29

Closed bcye closed 7 months ago

bcye commented 7 months ago

The documentation describes that the "format" probe should default in a hex value. But setting a color via the picker resulted in the value being updated to a rgb value. After I manually set the format prop to hex, this was fixed

viclafouch commented 7 months ago

Hello !

Could you please share an codesandbox for repro ?

Ty!