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

Combobox with [communicateByObject]=true triggers on input text change #12519

Closed
programister42 opened this issue Oct 7, 2024 · 0 comments · Fixed by #12815
Closed

Combobox with [communicateByObject]=true triggers on input text change #12519

programister42 opened this issue Oct 7, 2024 · 0 comments · Fixed by #12815
Assignees

Comments

@programister42
Copy link

programister42 commented Oct 7, 2024

Is this a bug, enhancement, or feature request?

Bug I suppose

Describe your proposal.

The Combobox in Reactive Forms documentation states:

Use the [communicateByObject] boolean input if you are using custom objects for the dropdownValues or if you want the combobox to only trigger onChange when a value is selected, rather than every time the input changes.

But in v52 it behaves exactly like this - it triggers both an object and the input value changes, it can be found right in the documentation example.

StackBlitz example - https://stackblitz.com/edit/scjpb8?file=src%2Fapp%2Fcombobox-forms-example.component.ts

steps:

  1. open console
  2. try to enter text in the first combobox
  3. select something from the dropdown of the first combobox

result: both input value changes and selected objects are printed in the console

Which versions of Angular and Fundamental Library for Angular are affected? Please, specify the exact version. (If this is a feature request, use current version.)

  • angular ^18.2.5
  • fundamental-ngx 0.52.1
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 a pull request may close this issue.

3 participants