Angular 4.3.4 breaks mdInput and md-input-container

后端 未结 1 1556
慢半拍i
慢半拍i 2021-01-24 22:45

My team at work recently went to Angular 4.3.3 from 4.3.0. After these changes, mdInput and md-input-container no longer function correctly. Before you could click into the in

相关标签:
1条回答
  • 2021-01-24 22:51

    I believe that I found an answer to the question. On my index.html I was linking to this:

      <link href="https://rawgit.com/angular/material2-builds/master/prebuilt-themes/indigo-pink.css" rel="stylesheet">
    

    However, when I removed that from the index.html and added this to styles.scss:

    @import '~@angular/material/prebuilt-themes/indigo-pink.css';
    

    it worked just fine and I didn't have the issues like before.

    0 讨论(0)
提交回复
热议问题