Increase textarea height (work_notes & comments) with no DOM manipulation?

George Chen
Tera Expert

Hi there, 

Since our San Diego upgrade from Quebec release, the "Work Notes[work_notes]" and "Customer Communication [comments]" have appeared down-sized under Activity tab, I am trying to increase the textarea height to hopefully set to 3 rows, however, this has not been a straightforward process to me, and the followings are what I have tried and hopefully to get some advice 

 

1) Since upgrading to San Diesgo, the two textarea fields are down-sized with one single line instead of multi-line (e.g Row=3)
find_real_file.png

 

2) I've tried to adjust Field Style (task.work_notes), but it does not seek to take effect.
find_real_file.png

3) I've also tried to increase the field length (work_notes) from 4,000 to 8,000, but this again does not increase it height

4) By community and ServiceNow Doc references, I've also tried to adjust a few sys_property records with no luck.

find_real_file.png

 

5) This finding seems more promising and yet this impacts the "Activity" tab layout 
If I remove "Activities(filtered)" (Formatter) from Form Layout (under Activity section), both fields appear in multi-lines?

find_real_file.png

After removing "Activities (filtered)" and Save ->

find_real_file.png

 

By a Community post at Textarea Size need to increase for Change - Developer Community - Question - ServiceNow Community, a DOM manipulation may be a potential, but this is what I am trying to avoid for a future upgrade and robust build design

"var x = $("change_request.description"); //any field 
x.style.height ="350px"; // any pixels"

 

 If you have any advice that could increase the height of both fields, it would be greatly appreciated. 

 

Thank you in advance. 

George 



1 ACCEPTED SOLUTION

ServiceNow Tec2
Mega Sage
This has been resolved by ServiceNow Technical Support. Please refer to KB0683185 for more information.

View solution in original post

3 REPLIES 3

George Chen
Tera Expert

Hello, 

 

This case has been raised to HI and it turned out a user preference setting that can increase the textare height.

 

"You can access that setting by clicking on your profile-name > Preferences > Display > toggle off the option "Use compact spacing mode".
I found there is a system-wide user-preference configured which is applying this behaviour for all the users >>
- User-Preference: glide.ui.compact
- System: true""

 

Thanks all.

ServiceNow Tec2
Mega Sage
This has been resolved by ServiceNow Technical Support. Please refer to KB1009954 for more information.

ServiceNow Tec2
Mega Sage
This has been resolved by ServiceNow Technical Support. Please refer to KB0683185 for more information.