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

Allow widget configuration via options dict and data attribute #22

Open
sweh opened this issue Dec 4, 2015 · 0 comments
Open

Allow widget configuration via options dict and data attribute #22

sweh opened this issue Dec 4, 2015 · 0 comments

Comments

@sweh
Copy link
Owner

sweh commented Dec 4, 2015

Originally reported by: Florian Pilz (Bitbucket: florianpilz, GitHub: florianpilz)


Currently some configuration is supplied via the options dict when creating an instance of gocept.jsform, other options are read from the template via data-attributes.

It would be nice if all widget specific configuration can be done both ways, thus gocept.jsform has to check the options dict and the data-attributes of the template. The documentation should tell that both ways are supported and which is preferred if both are given.


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

No branches or pull requests

1 participant