2017-02-05 131 views
1

我是使用樣品角材料輸入(上對話框)角材料錯誤顯示輸入欄

<md-input-container flex="50"> 
     <label>Client Name</label> 
     <input required name="clientName" ng-model="user.name"> 
     <div ng-messages="editForm.clientName.$error"> 
      <div ng-message="required">This is required.</div> 
     </div> 
     </md-input-container> 

但是當錯誤消息消失其出現第二輸入和打破設計而不是隻下輸入(例如在啓動時出現錯誤只能在變化的地方出現)

我該如何解決它?

回答

0

實測溶液:

md-input-container .md-input-message-animation{ margin-top: 2px !important; }