Skip to content

Replies

0
Jacky Nguyen
Jacky Nguyen answered on Nov 20, 2019 4:44 AM

Hi there,

Thank you for your response.

The modified sample is not correct for my use case, plus I deep clone `currentMask` at the following line:

        this.currentMask = JSON.parse(JSON.stringify(newMask)); // Angular should do a deep check.

By my investigation, I think the igxMask can't be updated after the parent component ViewInit, you can see it quite clearly in your modified sample, try clicking `Change mask` and focus on the input, the mask is still the same mask as before.

0
Jacky Nguyen
Jacky Nguyen answered on Nov 19, 2019 9:22 AM

Thanks, let me know if you need more information on this case.