Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
935
error thrown when dropdown source data is changed
posted

Using latest releases of Angular and Ignite UI (12.0.3):

I have a pair of Dropdowns using the igx-input-group model. One of them determines the filtered data set of the second. I am using the (onSelection) attribute to filter the second, but I am also getting an error NG0100: ExpressionChangedAfterItHasBeenCheckedError.

The functionality isn't broken, but it's throwing an error like it is. If I didn't have tech savvy users who will complain, I wouldn't bother asking how to fix it.

A previous question suggested using markForCheck on the igx-grid component. Is there something similar for this setup I should be using, either on the dropdown or the input-group? This is in a dialog modal, if that makes any difference.

Parents Reply
  • 935
    Offline posted in reply to Martin Evtimov

    I have altered a bit more in the sample, but for some reason, when changing the TO region, then changing the FROM region to match, the selected FROM division is still in the list of TO divisions.

    Also, I'm still curious about whether it will be necessary to switch my code from PROMISE to OBSERVABLE in order retain effectiveness. I asked in the previous reply, but you didn't address it.

Children