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
  • 740
    Offline posted

    Hello Chris,

    Thank you for contacting Infragistics Community!

    In pursuit of reproducing the described behavior on my side I have created a small sample where the items of the second igxDropDown Component are assigned within the onSelection event hook of the first one and no exceptions are thrown.

    In order to be able to assist you further could you please try to modify the provided sample so that it replicates the issue you are facing and send it back to me. Having a sample, which I can debug on my side, will be highly appreciated and extremely helpful for providing you with solution as soon as possible.

    Looking forward to hearing from you.

    Best Regards,
    Martin Evtimov
    Associate Software Developer
    Infragistics, Inc.

Reply Children