Angular Material 2: Fix for Multiline Error messages
08:55 09 Sep 2017

I'm using angular material 2 inside my angular application. I'm experiencing a problem when my form input field error messages are more than one line. Here is the photo:

md-error-multiline-bug

Here is the code:


          
                {{'PASSWORD_RECOVERY.FIELD_REQUIRED' | translate}}
          
          
                {{'PASSWORD_RECOVERY.PASSWORD_LENGTH' | translate}}
          
          
                {{'PASSWORD_RECOVERY.FOR_A_SECURE_PASSWORD' | translate}}
          

I've understood by reading github, that it is a bug in angular 2 material. Did anybody manage to solve this issue by doing a custom workaround?

angular angular2-forms angular-material2