We added an option selector attribute in an admin task with JavaScript selection options. The function returns a long text. When a long value is added to Current Values then it automatically gets expanded but when the value was present in Available Values, it doesn’t get expanded. We need to expand the Available Values.
1. Add an attribute in any Admin Task such as Modify User.
2. Select the style as Option Selector, CSS style as width:120%;width:120%; and Source of selection options as JavaScript.
3. Add the following script in Selection Options
function getOptions(FieldContext){
return "SAMPLE.TEXT.SAMPLE.TEXT.SAMPLE.TEXT.SAMPLE.TEXT";
}
4. Now try to modify a user and observe that when a long value is added to Current Values then it automatically gets expanded but when the value was present in Available Values, it doesn’t get expanded.
Release : 14.4, 14.5
Component : CA Identity Suite Virtual Appliance
Available Values field expanded properly after adding "width:120%;width:120%;" to "CSS Class" field.