How to prevent user from typing in text field without disabling the field?
readonly attribute instead of the
disabled attribute. It prevents editing the text in the input, but browsers style the input differently
<input readonly type=”text”>