Skip to content

[Bug]: cds-combo-box Component Fails to Refresh with Lazy Loaded Options in Reactive Form #2961

Open

Description

Detailed description

I’m encountering an issue with the cds-combo-box component when used in a reactive form. Specifically, the problem arises when the available options for the combo box are loaded asynchronously from the backend. Even though the form is patched correctly, the combo box does not refresh to display the selected value once the options are set. Instead, it shows an empty value, which leads to a poor user experience.

Steps to reproduce the issue

  1. Create a reactive form that includes a cds-combo-box component.
  2. Patch the form with initial values before loading the options.
  3. Load the available options for the combo box asynchronously from the backend.
  4. Observe that the combo box does not refresh to display the selected value.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions