On Tuesday, July 28, 2020 at 12:35:00 AM UTC-4, Michael W Powell wrote:
>
> Hello,
>
> I've got a data set that looks something like:
>
> ```Json
> [{key: int, isSelected: boolean, label: string, weight: int}, ...]
> ```
>
> And I would like to bind that data set to a `DevExtreme` `dx-list`. I've 
> got layout issues, but the data is at least being rendered in the list as 
> expected.
>

I got it sorted out. Apparently I was using an "input/output" Ng protocol 
to specify the numeric spinner, i.e. "[(disabled)]='...'", when what I 
really wanted was "[disabled]='...'". I corrected that and it works like a 
champ.

When I change the `isSelected` checkbox, or attempt to manipulate the 
> `weight`, I am receiving the infamous:
>
> ```
> ERROR Error: ExpressionChangedAfterItHasBeenCheckedError: Expression has 
> changed after it was checked. Previous value: 'value: true'. Current value: 
> 'value: false'.
> ```
>
> Obviously this is "by design" but how does one properly bind data for 
> editability? I'm not sure I fully understand that whole issue.
>
> Thanks, cheers,
>
> Michael W. Powell
>

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/angular/ee7a0d39-8efa-4db6-987a-490c33bcd6f3o%40googlegroups.com.

Reply via email to