+ 2

"Text Wrapping = 0n" going wrong on readonly <textarea>

When I add the readonly attribute to my disabled textarea, all the line gets in a single line, how can I fix it https://code.sololearn.com/WZ8LiNk0LzLb/?ref=app

28th Nov 2020, 5:38 PM
Bibek Oli
Bibek Oli - avatar
2 odpowiedzi
+ 3
I dont think you can because thatas how you put it. you might need to chan the word you written in the HTML section.
30th Nov 2020, 6:44 PM
Jordan Kinney
Jordan Kinney - avatar
+ 1
Instead of saying ‘readonly=“readonly”’ can’t you just use ‘readonly’?
30th Nov 2020, 9:35 PM
Gizmo-Lang
Gizmo-Lang - avatar