Skip to content
This repository has been archived by the owner on Nov 30, 2022. It is now read-only.

fix(stepper): console error in development mode #187

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

vagnersabadi
Copy link
Contributor

Problem

When adding the stepper component in a modal, the error below is displayed on the browser console in development mode.

Captura de Tela 2021-05-27 às 17 30 33

Solution

ChangeDetectorRef was added to detect changes in the component and no longer show the error

Step by step to reproduce

  1. Create a modal
  2. Import the component stepper to the modal

Solution taken from here

gbrlsnchs/material2-carousel#8

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant