Please see the following plunker

I want to be able to select a tab after the tabs have been rendered but I get an error ExpressionChangedAfterItHasBeenCheckedError. The scenario is on refresh of browser if this particular route has an ID value then load the entity and then select the detail tab.

ngAfterViewInit() {
    let id = this.route.snapshot.params['id'];
    if(null!=id) {

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.