angular2响应式表单禁用和只读设置

设置方法:spa 1.设置只读属性为true: readonly="true"orm < ion-input type= "text" formControlName= "IdCardNo" placeholder= "请填写身份证号" readonly= "true" ></ ion-input > 2.直接禁用表单项:disabledinput
相关文章
相关标签/搜索