Add placeholder to select tag in angular2

后端 未结 15 1401
眼角桃花
眼角桃花 2021-01-03 19:54

I have simple component that contains only form:

import {Component, FORM_DIRECTIVES, NgFor} from \'angular2/angular2\';


@Component({
  selector: \'test-com         


        
15条回答
  •  北荒
    北荒 (楼主)
    2021-01-03 20:43

    This is how we I do it:

    
    
    {{ 'ERROR_FIELD_REQUIRED' | translate:lang }}

提交回复
热议问题