Copy link to clipboard
Copied
Question re: Drop-down - character limit. I have two drop-down menu items. One is 276 characters with spaces and teh other is 694 with spaces.
Question1: How can I increase the character spaces?
Questoin 2: How can I get the text to wrap.
Copy link to clipboard
Copied
1. Make the field bigger or set the font size to auto.
2. Use the setItems method in the console with line breaks in the string. Example:
this.getField("Dropdown1").setItems(["ABCDEFG\rHIJKLMNOP\rQRSTUV","AABBCC\rDDEEFF\rGGHHII"])
Copy link to clipboard
Copied
You should be careful of adding line-breaks in a drop-down field. It's not a documented feature and will be buggy if the number of lines is not the same in all items.