Closed da-liii closed 5 years ago
<textarea readonly></textarea> <textarea readonly=""></textarea> <textarea readonly="readonly"></textarea>
Personally, I prefer the first one.
Ref: https://www.w3.org/TR/html5/infrastructure.html#sec-boolean-attributes
Unfortunately currently you can only use <textarea readOnly={true}></textarea>
<textarea readOnly={true}></textarea>
Personally, I prefer the first one.
Ref: https://www.w3.org/TR/html5/infrastructure.html#sec-boolean-attributes