We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug The specified handler fires, but the button itself remains white.
To Reproduce
<ColorPicker id="newCategoryColour" palette={colourOptions} onChange={(e) => handleNewCategoryColour(e)} hideTextfield />
Expected behavior The event should fire, and the button should change color to that specified.
The text was updated successfully, but these errors were encountered:
Hello @Ormesome, as I understand you need to pass the value props to the component, so it will update the color, thank you!
const [color, setColor] = useState(createColor("red")); const handleChange = (newValue: Color) => { setColor(newValue); }; //... <ColorPicker id="newCategoryColour" palette={colourOptions} value={color} onChange={handleChange} hideTextfield />
Sorry, something went wrong.
No branches or pull requests
Describe the bug
The specified handler fires, but the button itself remains white.
To Reproduce
Expected behavior
The event should fire, and the button should change color to that specified.
The text was updated successfully, but these errors were encountered: