Hi,
I have text area field which is 3000 char in length, what i want is while hovering over this field the user should be able to see the whole text, since text line i gave is 3. Scrollbar comes which is okay but when it is disabled user can not see the whole text.
So we need hover functionality in both cases even if it is enabled or disabled.
Please see the attached oml for your reference.
Thanks
Shivangi
Hi @Shivangi Thakur
I have attached oml file below
Enable only the scrollbar and disable the text area.
I hope this help for you
This worked for me as well, thank you.
Hi @Shivangi Thakur ,
You can set the title attribute on the text area and assign it the value of TextVar.
Result:
I’d also recommend exploring an alternative approach, as tooltips aren't typically intended for displaying such large amounts of content, they're generally designed for short, concise information.
This works but as you said for long text its not working, can you suggest some alternative?
Hi, what I would do is implement a "View All" button that will display the entire text in a popup. I attached an OML for reference.
hi @Shivangi Thakur
You can add title attribute and pass value or add CSS
.form-control[data-input][disabled], .form-control[data-textarea][disabled] {
pointer-events: unset;
}
I hope this helps