Remove text caret/pointer from focused readonly input

后端 未结 7 1948
醉梦人生
醉梦人生 2020-12-13 06:26

I am using an , styled as normal text to remove the appearance of an interactive field, but still display the value.

7条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-13 06:48

    Easy!

    Just add disabled to input and it will not be clickable (focused)

提交回复
热议问题