Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(table): schematic generates code that throws an exception #15800

Merged
merged 1 commit into from
May 17, 2019

Commits on May 13, 2019

  1. fix(table): schematic generates code that throws an exception

    fix exception when instantiating MatPaginator before dataSource defined
    fix ExpressionChangedAfterItHasBeenCheckedError caused by above
    - first initialize the template w/o dataSource & w/ a sort and paginator
    - then get the references to the template's MatSort and MatPaginator
    - then set the data source's sort and paginator
    - then set the table's data source from the component
    
    Fixes #15788
    Splaktar committed May 13, 2019
    Configuration menu
    Copy the full SHA
    dd7f4ea View commit details
    Browse the repository at this point in the history