Skip to content

Conversation

@Matthias-dmt
Copy link

@Matthias-dmt Matthias-dmt commented Jan 7, 2026

Fixes #8135

Context

  • ColorPicker did not pick up Form initialValues when used with name + Form.
  • The component was only watching modelValue, while Form-driven state updates d_value.

Changes

  • Watch d_value in ColorPicker to keep UI in sync with Form initialValues and regular v-model/defaultValue usage.

Repro

  1. Use with
  2. Before: picker stays red
  3. After: picker starts at 00ffff

Testing

  • Manual (local): Form + ColorPicker initialValues in apps/showcase/pages/test.vue
  • Manual (local): ColorPicker v-model without Form

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.

ColorPicker in Forms ignores initial color value and is always initially red

1 participant