Senad

Drop down width

Discussion created by Senad on Jan 19, 2017
Latest reply on Jan 19, 2017 by Senad

Good day,

 

because SP has problems to change the width of the Drop down fields i am using jQuery lines in the form load Actions and it's working good.

 

I am using this line: 

jQuery('select[title="MyFieldTitle"]').css('width', 'XXXpx');

The form loads correct and all the fields get the new width. 

 

One of these Drop down fields has a calculated expression (Assignment) and after it returns the value the css changes and the Drop down gets its default width. Is there a way to keep the new width which i assign with the jQuery line?

 

Thank you in advance

Outcomes