Hi, I've a HTML element displaying the data from a SharePoint column in SharePoint which format is "Multiline". The code is something like this:
<span style=""width:100%; padding-top:5px;"">
<textarea readonly style=""width: 100%; height: 200px; overflow-y: scroll; font-family:open sans; margin-top: 10px; border: 1px solid;"">
"&MySP_List.MyMultilineColumn&"
</textarea>
</span>
I was thinking I could change the height property to "height:auto", but it is doing nothing.
At the moment this value is set to 200px but the multiline column can be any size and I would like that to resize automatically to the max length of the box.
Is there any option to do that?
I think I could do that with Javascript but as far as I know JavaScript is not possible in the HTML component?
Any idea or suggestion to display in a HTML component a multiline column with auto resize is more than welcome.
Kind REgards