I am now trying to create a multiple dropdown from a table.
So I took te code from UIOMatic.FieldEditors.Dropdown
now I would like to save a CSV but I can not intercept the save to change the array to a CSV a got this error:
Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: [. Path 'SubServices', line 1, position 3417.
Do you have an idea of how I could go around this ?
Mutiple dropdown ?
Hi Tim,
I am now trying to create a multiple dropdown from a table. So I took te code from UIOMatic.FieldEditors.Dropdown now I would like to save a CSV but I can not intercept the save to change the array to a CSV a got this error: Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: [. Path 'SubServices', line 1, position 3417.
Do you have an idea of how I could go around this ?
Thanks in advance!
Comment author was deleted
Hey! Have you seen to code for the checkboxlist? That saves it's data as an array https://github.com/TimGeyssens/UIOMatic/blob/v2/src/UIOMatic/Web/UI/App_Plugins/UIOMatic/backoffice/views/fieldeditors/checkboxlist.controller.js
Comment author was deleted
Ah sorry it does save as csv
$scope.property.value = val.join($scope.delimiter);
but again if you check the code for that one it should make sense
Cool that's helpful. It's working now. Cheers Tim!
Comment author was deleted
Great :)
is working on a reply...