Posted: 11 Oct 2019 11:58 EDT Last activity: 28 Oct 2019 6:29 EDT
How can we localize MultiSelect options?
Hi, we are using Multiselect to dispkay pyStatusWork values to customers. By the way, while localizing field values works in every part of the application, we are not able to show italian values within the multiselect list of options and multiselect selected options. Can anyone suggest us how to handle this? Thanks, Vince
***Edited by Moderator Marissa to update platform capability tags****
Hi Dangs, we have created field values as pyCaption but it does not work. I have created them in the same class of the sourcing pagelist property, should they belong to the class of the target pagelist property?
Ok but...with dropdowns it works. The problem is with multiselect, which seems to be slightly different. I have just tried to create field values in @baseclass and Data-Portal (the target pagelist's class) classes but without results.
This is an expected behaviour, Since the value that you see in the results is what is selected and populated to the target property as well for this reason that isn't localized. This is the same behaviour as autocomplete control where the result value (seen) is directly stored to the target property too. In case of dropdown the property value for display in result is different for the property value you store in the target property, hence that is localized. NOTE: Multi-Select control allows to select values in the same ways as Autocomplete control does so it is not "blocked" list of values.