Hi
I use the triStateCheckbox PrimeNG's component
It's ok but the two-way data binding with [(ngModel)] doesn't work. When the value change on the controller, it's not passed on the view.
In fact we just have a simple way data binding (view to controller).
Does anybody have a solution ?
Thanks and sorry for my bad english
p-triStateCheckbox two-way data binding doesn't work
-
- Posts: 449
- Joined: 08 Aug 2018, 14:09
Hi,orel wrote: ↑29 Oct 2019, 17:54Hi
I use the triStateCheckbox PrimeNG's component
It's ok but the two-way data binding with [(ngModel)] doesn't work. When the value change on the controller, it's not passed on the view.
In fact we just have a simple way data binding (view to controller).
Does anybody have a solution ?
Thanks and sorry for my bad english
Can you provide stackblitz sample with https://stackblitz.com/github/primeface ... e-template . Actually it seems to working in live demo https://www.primefaces.org/primeng/#/tristatecheckbox .
-
- Information
-
Who is online
Users browsing this forum: No registered users and 10 guests