我有一个文本框,我想在某些情况下设置为只读,在少数情况下设置为可编辑字段,因此该字段应根据条件在只读/可编辑之间切换,如何实现?
angular2-forms angular2-template
angular2-forms ×1
angular2-template ×1