- 1

How to make a text input field read only by style class?

15th Jul 2017, 3:49 PM
Russell Tarafder
Russell Tarafder - avatar
2 Respuestas
+ 5
Not real solution purely css, but you can embed your input field in a <span> element, and style it to display another element over the input, hidding click/touch event ^^ https://code.sololearn.com/WjK5ZU6GQ3b0/?ref=app
15th Jul 2017, 4:47 PM
visph
visph - avatar
+ 4
pointer-events: none; maybe??
15th Jul 2017, 4:39 PM
MCJEH
MCJEH - avatar