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

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

  1. Write a Test
  2. Support more types of Fields, like Decimals and other formats of numbers.
  3. 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.