Install
Works with Drupal: 7.xUsing Composer to manage Drupal site dependencies
Downloads
Release notes
* WARNING : There are two backward incompatible changes in this release.
- Slider now returns value => x as as value instead of slider => array(value => x)
- #value2 is removed and now for range sliders you should pass #default_value => array('value1' => 1, 'value2' => 50) for non ranged slider you can simply pass the number (no array needed)
* Invalid value when used as field widget fixed
* slider now return [value] instead of [slider][value] when submitted
* can be rendered in page array (used to be only render able in form array)
* can show two titles now , one at the beginning and on at the end #title and #title2
* built in range validation can be disabled by setting #validate_range => FALSE
* data now properly stores in field when used as field widget
* the problem with default value fixed
* incorrect value when widget was shown in edit mode fixed
* #1934432: Error Notice: Undefined index: value in number_field_validate() (line 137
* #1934438: would be great to allow showing the label in the creating form and allow configuring the field to show it inline