Skip to content

fix: update color picker text field when using form.setValue#116

Merged
luizakp merged 1 commit intomainfrom
juliano/fix-color-picker-field
Feb 4, 2026
Merged

fix: update color picker text field when using form.setValue#116
luizakp merged 1 commit intomainfrom
juliano/fix-color-picker-field

Conversation

@juliano-quatrin-nunes
Copy link
Collaborator

Issue

  • The text input did not sync with external updates like form.reset() because it relied on isolated local state.
  • Only the color preview (contentColor) was updating correctly.

Change made

  • Removed local color state.
  • Refactored to direct use of formField.value so the input is always synchronized with the form data.

@vercel
Copy link

vercel bot commented Feb 2, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
bleu-ui Ready Ready Preview, Comment Feb 2, 2026 9:08pm

Request Review

@luizakp luizakp merged commit 700a19a into main Feb 4, 2026
5 of 6 checks passed
@luizakp luizakp deleted the juliano/fix-color-picker-field branch February 4, 2026 17:23
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.

2 participants