ng-matero / extensions

Angular Material Extensions Library.
https://ng-matero.github.io/extensions/
MIT License
393 stars 48 forks source link

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

Closed lilletech closed 11 months ago

lilletech commented 1 year ago

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 commented 1 year ago

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

lilletech commented 1 year ago

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 commented 11 months ago

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

lilletech commented 11 months ago

I'm annoyed because I can't upgrade angular. Can you bring a fix on v15 or too complicated?

Le mar. 20 juin 2023 à 16:42, Zongbin @.***> a écrit :

Closed #209 https://github.com/ng-matero/extensions/issues/209 as

completed.

— Reply to this email directly, view it on GitHub https://github.com/ng-matero/extensions/issues/209#event-9580606264, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB2TLJLSK3RAYMFXHL2YT7TXMGZHFANCNFSM6AAAAAAXJHOPNU . You are receiving this because you authored the thread.Message ID: @.***>

-- Jimmy Pannier 00337 71 255 930 www.lilletech.fr Analyste-développeur / Freelance en services numériques

nzbin commented 11 months ago

15.5.2 has released, please have a try.

lilletech commented 11 months ago

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 ).