Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

jQuery Option Tree widget for deform

Project description

This package makes jQuery Option Tree available as a deform form library widget. jQuery Option Tree converts a JSON option tree into dynamically created <select> elements allowing you to choose one nested option from the tree.

Currently only one feature for a very specific use case is implemented, hierarchical browsing from a data structure like this:

key     value
---     -----
1       Option 1
11      Suboption 1.1
111     Subsubption 1.1.1
112     Subsubption 1.1.2
12      Suboption 1.2
2       Option 2
21      Suboption 2.1
22      Suboption 2.2
3       Option 3

The implementation is currently limited to 1 character == 1 level as keys. This is suitable for hierarchical selections from standards like ISCO08 or NACE Rev. 2

See the included demo application for details.

Contributions

Contributions are welcome, especially if you want to add support for more generic data structures and/or configurable options for the plugin.

Changes

0.1

  • Initial release.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for deform_widget_jquery_option_tree, version 0.1
Filename, size File type Python version Upload date Hashes
Filename, size deform_widget_jquery_option_tree-0.1.tar.gz (89.0 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page