Skip to content

UI Desync: Combobox Displays Placeholder After External Value Change #2967

@rvasseur31

Description

@rvasseur31

🐛 Bug report

When we select a value from the combobox dropdown and then change the value dynamically from another source, the combobox displays the placeholder instead of the selected value. However, the value is correctly updated in the context.

💥 Steps to reproduce

  1. Open the combobox and select any value other than "solid"
  2. Click the button to dynamically change the value

💻 Link to reproduction

CodeSandbox reproduction: https://stackblitz.com/edit/gx4kvwmq

🌍 System information

Software Version(s)
Chakra Version 3.33.0
Browser Brave
Operating System macOS

🧢 Your Company/Team

📝 Additional information

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions