-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Option to store/return raw value for dropdown #149
Comments
Did you guys ever submit this as a PR? We've got the same issue just now, would rather not run with an unofficial version. |
instead of a Raw format option (as in the PR) fixing #59 should also resolve this issue |
Thanks, Hendy. It was actually a colleague who reported having a problem so I'll check in tomorrow with him and update. |
Thanks Greg. It would be good to know if it is just commas not being encoded (#59 is more about typeahead) |
Hi Hendy,
We are running 1.5.3 on n Umbraco 7.5.10 install. We are using this data in the nuPickers .NET checkbox picker data type, with values returned as CSV. We are finding that the output of the CSV is splitting items with a comma, so for example 'Health, Nursing & Midwifery' is becoming two items in the CSV: 'Health' and 'Nursing & Midwifery'. Best |
Hi Hendy, I have taken fork of the repo and amended it to return escaped label values for the csv save type which seems to work well. not sure if it is something you would be interested in me submitting a pull request for? best |
We're having a dropdown so only 1 value can be selected. For us it didn't really matter how the value was saved because we needed the raw value. We chose CSV, but some values in our dropdown contain a comma. The values are stored correct in the database, but the dropdown is not populated. If we there is an option to store the value raw this would fix it for us.
We tried changing the stored value from CSV to XML or JSON, but this means we need to resave all content that's using the dropdown which is too much work. So would it be possible to return the CSV without splitting it?
The text was updated successfully, but these errors were encountered: