In HTML, only text controls, such as a text field, text area, password box, have a read-only property. Why don't they support the checkbox / radio button?
I know that I can achieve this function with a script by setting onclick = "return false;". (I don’t need a workaround, I want to know only the reason for the lack of support to support this goal)
But my question is, is there any specific reason for not supporting reading only in the check-box / radio button even though it accepts input from the user.
EDIT 1: I found this one , but it does not answer my question. Why is there no way to limit a user to a state change without turning it off?
source share