Skip to content
New issue

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

ColorPicker doesn't change its color (react-hook-form) #2071

Closed
bitlab-code opened this issue May 29, 2021 · 1 comment
Closed

ColorPicker doesn't change its color (react-hook-form) #2071

bitlab-code opened this issue May 29, 2021 · 1 comment
Assignees
Labels
Type: Bug Issue contains a defect related to a specific component.
Milestone

Comments

@bitlab-code
Copy link

I'm submitting a ... (check one with "x")

[x] bug report
[ ] feature request
[ ] support request => Please do not submit support request here, instead see https://forum.primefaces.org/viewforum.php?f=57

Codesandbox Case (Bug Reports)
Please fork the codesandbox below and create a case demonstrating your bug report. Issues without a codesandbox have much less possibility to be reviewed.

https://codesandbox.io/s/test-colorpicker-2b5e0?file=/src/demo/ReactHookFormDemo.tsx

Current behavior
ColorPicker doesn't change its color on value property change.

@bitlab-code
Copy link
Author

news on this bug?

in the meantime founded a a workaround: set key property to the value to force the re-render

NB: I've updated the codesandbox with the workaround

@mertsincan mertsincan self-assigned this Jun 15, 2021
@mertsincan mertsincan added the Type: Bug Issue contains a defect related to a specific component. label Jun 15, 2021
@mertsincan mertsincan added this to the 6.4.1 milestone Jun 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a defect related to a specific component.
Projects
None yet
Development

No branches or pull requests

2 participants