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

mtx-checkbox-group does not update when formcontrol update value #209

Closed
lilletech opened this issue Apr 24, 2023 · 6 comments
Closed

mtx-checkbox-group does not update when formcontrol update value #209

lilletech opened this issue Apr 24, 2023 · 6 comments
Labels
area: checkbox-group Issues about checkbox group bug Something isn't working duplicate This issue or pull request already exists

Comments

@lilletech
Copy link

In my template i have a mtx-checkbox-group

 <mtx-checkbox-group
          [formControlName]="field.formControlName"
          [items]="field.checkboxSettings!.items$ | async"
          [bindLabel]="field.checkboxSettings!.bindLabel || 'label'"
          [bindValue]="field.checkboxSettings!.bindValue || 'id'"
        ></mtx-checkbox-group>

when i update the value of my formcontrol, the ui does not bind to the value.

@nzbin nzbin added question Further information is requested area: checkbox-group Issues about checkbox group labels Apr 24, 2023
@nzbin
Copy link
Member

nzbin commented Apr 26, 2023

I tested it and I can't find any issues. Can you give me an online example?

@lilletech
Copy link
Author

I tested it and I can't find any issues. Can you give me an online example?

Have you already got a stackblitz project (with angular15 and matero extension dependencies) that i can fork to reproduce this one ?

@nzbin
Copy link
Member

nzbin commented Jun 20, 2023

I think this issue is duplicate of #230 and I have fixed that issue, please try the new version 16.0.1.

@nzbin nzbin closed this as completed Jun 20, 2023
@nzbin nzbin added bug Something isn't working duplicate This issue or pull request already exists and removed question Further information is requested labels Jun 20, 2023
@lilletech
Copy link
Author

lilletech commented Jun 20, 2023 via email

@nzbin
Copy link
Member

nzbin commented Jun 21, 2023

15.5.2 has released, please have a try.

@lilletech
Copy link
Author

Super, it's work like a charm now. Good Game !
Thank you :-).

Nice to have : it would be great to make it mat-form-field compatible. The goal is to have a ui similar to mtx-select ( label ).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: checkbox-group Issues about checkbox group bug Something isn't working duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants