Skip to content
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

Fix issue where csv data could be lost #182

Closed

Conversation

Dallas-msc
Copy link

If the user presses save/publish quickly it is possible to lose the
picker value when using csv. This fix preloads the list with the csv
values so they are not lost. This issue is most likely to occur when the
list stores a long list of values.

If the user presses save/publish quickly it is possible to lose the
picker value when using csv. This fix preloads the list with the csv
values so they are not lost. This issue is most likely to occur when the
list stores a long list of values.
@Dallas-msc Dallas-msc mentioned this pull request Feb 5, 2018
@TimGeyssens
Copy link

Awesome, thanks for this

@Hendy
Copy link
Contributor

Hendy commented Jun 28, 2018

Hi, sorry for a late reply, yes this is an issue if a page is saved before all ajax calls have completed. Good idea about loading labels ! however I don't think this fully fixes the issue as it assumes the value is a csv - the string chop could do weird things to the other formats, making weird keys, which then saved at the 'wrong time'... It's probably better handled in the EditorResource.js as all the pickers could do with this fix, will investigate as this does need fixing. Thanks

@Hendy Hendy self-assigned this Jun 28, 2018
@Hendy
Copy link
Contributor

Hendy commented Jul 2, 2018

Closing as this PR as issue #179 needs to be fixed for all save formats

@Hendy Hendy closed this Jul 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants