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
Support multi checkbox group #13
Comments
That sounds like a good idea. PR welcome to implement it as an array: {
"enabledFeatures": ["featureA"]
} |
We could consider using something like form-serialize. |
That's not a terrible idea, it would free |
@bfred-it Good point. Looks like there is a fork of it (form-serialization) that supports deserialization, though I found a more widely used one that supports both serialize and deserialize: dom-form-serializer. |
Amazing, thanks! Could you send a PR for that? |
A build step is coming in #20 so it will be easier to integrate this. |
@bfred-it Thanks, let me know when that's in? |
It's in! |
Can you test #28 out with: npm install webext-options-sync@next You can then verify the stored data with |
Expected Result
or
Current Result
This is common at least when I was in the php world a few years ago:
https://gist.github.com/southern-hu/5424068
http://www.wastedpotential.com/html-multi-checkbox-set-the-correct-way-to-group-checkboxes/
The text was updated successfully, but these errors were encountered: