Stepper Field
Categories
Component ID
1348462
Component name
Stepper Field
Component type
module
Maintenance status
Development status
Component security advisory coverage
not-covered
Downloads
2529
Component created
Component changed
Component body
Module description
The Stepper Field module is based in a plugin for jQuery UI called jQuery.ui.Spinner and provides a new steps widget that can be added to any Integer field.
You can see it like a way to control an incremental integer field, to sum +1 when the user press the Key UP, and decrease -1 when the Key DOWN is pressed.
Requirements / Dependencies
- Field (Core)
- Libraries
- Plugin for the jQuery UI: jQuery.ui.Spinner
Installation
Please download the jQuery.UI.Spinner into the Libraries folder.
The result must be like this "/sites/[domain]/libraries/jquery.ui.spinner/ui.spinner.min.js"
TODO
- Write a Test
- Support more types of Fields, like Decimals and other formats of numbers.
- The plugin jQuery.ui.Spinner have some other settings to use, like how many steps should do in each increment, for example: +2
Thanks
Sponsored by Taller.
