v8.3p_2012-12-31/Pro Deployment (built 2012-12-31)
Firefox
I am developing a custom data source. Some of the fields are multi-valued text fields (multiple="true"). When edited using a DynamicForm, using the defaults (TextItem.multipleValuesSeparator = ',') and when I enter the value "one,two", this is serialized by the client to be ["one,two"], not ["one", "two"] as I expected. (I can see this in the RPC history using Developer's console). On the server side I receive a List with one element, the string "one,two".
I also tried setting editorType to "TextAreaItem" for the field, and then entering
one
two
in the text area. But again the serialized values was ["one\ntwo"].
Do I need to do something more to be able to input multiple values in this manner?
Thanks,
Jon
Firefox
I am developing a custom data source. Some of the fields are multi-valued text fields (multiple="true"). When edited using a DynamicForm, using the defaults (TextItem.multipleValuesSeparator = ',') and when I enter the value "one,two", this is serialized by the client to be ["one,two"], not ["one", "two"] as I expected. (I can see this in the RPC history using Developer's console). On the server side I receive a List with one element, the string "one,two".
I also tried setting editorType to "TextAreaItem" for the field, and then entering
one
two
in the text area. But again the serialized values was ["one\ntwo"].
Do I need to do something more to be able to input multiple values in this manner?
Thanks,
Jon