How to disable scroll bar in multiline text field in service catalog.

jugantanayak
Tera Guru

How to disable scroll bar in multiline text field in service catalog?

4 REPLIES 4

shloke04
Kilo Patron

Hi,

 

It's meant to behave the current way for multiple lines which can be present allowing users to scroll and visit the text. May I kno why yoou want to do this or what is the business requirement?

 

Regards,

Shloke

Hope this helps. Please mark the answer as correct/helpful based on impact.

Regards,
Shloke

jugantanayak
Tera Guru

Any update on this issue?

i have seen this happen if you script is made to run for both Onchange and Onload.

Stop Onload on that script.

 

regards

mjwhirly
Kilo Contributor

Hi,

 

    The reason you see the scrollbar is because all the information doesn't fit into the field text area size. You can utilize the instructions on this page to have the field size auto-expand based on the information inside of it. Thus no longer requiring the field to have a scrollbar. 

 

https://www.servicenowguru.com/scripting/client-scripts-scripting/automatically-adjust-height-text-a...

 

Hope this helps,

Matt