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

[Bug]: Selected value not displayed in input after reselecting the same value in igc-combo #1238

Closed
georgianastasov opened this issue Jun 11, 2024 · 0 comments · Fixed by #1261
Assignees
Labels

Comments

@georgianastasov
Copy link

georgianastasov commented Jun 11, 2024

Which component(s) are affected?

Combo

Description

We have a single-select igc-combo with a pre-selected value. When we focus the combo input, highlight the existing value, and enter the first letter of that value to filter the drop-down list, we can see the same value in the filtered list. However, upon reselecting the same highlighted value, the input field does not display the selected value; instead, it only shows the letter that was typed.

Reproduction

  1. Open the igc-combo demo for single selection at this link.
  2. Select a value from the combo (e.g., "London").
  3. Focus the combo input field, and the value "London" should be highlighted.
  4. Type the first letter of the selected value (e.g., 'L').
  5. The combo's drop-down list should filter to show values starting with 'L', including "London".
  6. Reselect "London" from the filtered list.

Expected Result

The input field should display the full selected value ("London") after reselecting it.

Actual Result

The input field only displays the letter that was typed ('L') instead of the full selected value ("London").

Workaround

No

Is this a regression?

No or unsure. This never worker, or I haven't tried before.

Affected versions

Latest

Browser/OS/Node environment

Browsers: All

@georgianastasov georgianastasov added bug Something isn't working 🆕 status: new The issue is new and will be reviewed when somebody picks it up. combo labels Jun 11, 2024
@simeonoff simeonoff self-assigned this Jun 11, 2024
simeonoff added a commit that referenced this issue Jun 18, 2024
@rkaraivanov rkaraivanov added ✅ status: resolved and removed 🆕 status: new The issue is new and will be reviewed when somebody picks it up. labels Jun 25, 2024
rkaraivanov added a commit that referenced this issue Jun 25, 2024
* fix(combo): resolve #1229 #1238 #1260
---------

Co-authored-by: Radoslav Karaivanov <rkaraivanov@infragistics.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants