Angular 2: Disable input change not working

后端 未结 6 1528
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-29 22:44

Up until \"final\" 2.0 of Angular I have done this:


To dynami

6条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-29 23:16

    You can try to use readonly attribute in your input.

    disabled >>> readonly

提交回复
热议问题