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

Override serialize not to serialize an entry #203

Open
mebibou opened this issue Oct 7, 2017 · 0 comments
Open

Override serialize not to serialize an entry #203

mebibou opened this issue Oct 7, 2017 · 0 comments

Comments

@mebibou
Copy link

mebibou commented Oct 7, 2017

One of the widget I use is to configure a new widget, where I can select the type and some data, once save I add a new empty widget ( so there is always one empty for new). I want to override the serialize option not to save the empty one, but currently doing serialize: function() { return; } will save null in the storage. I've tried different variation but it doesn't look like it is possible to simply not serialize one of the entries.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant