Postponed
Project:
SliderField
Version:
7.x-2.x-dev
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Anonymous (not verified)
Created:
30 May 2013 at 04:43 UTC
Updated:
16 Jan 2017 at 22:21 UTC
Jump to comment: Most recent
Comments
Comment #1
Anonymous (not verified) commentedLooking at the example settings I see two values in default value (perhaps something to do with it?) - how do I convey this through the Drupal interface? I tried setting up seperate integer fields for the adjust min and maximum, but it doesn't appear to work (only if I select range as maximum or minimum instead of auto).
'#title' => 'Range Slider',
'#type' => 'slider',
'#default_value' => array('value' => 200, 'value2' => 700),
//'#orientation' => 'vertical',
'#slider_style' => 'orange',
'#range' => TRUE,
'#min' => 10,
'#max' => 1000,
'#step' => 100,
//'#required' => 1,
//'#disabled' => TRUE,
//'#display_inputs' => FALSE,
'#display_values' => TRUE,
'#slider_length' => '100px',
Comment #2
Anonymous (not verified) commentedComment #3
sinasalek commentedYes it only works if you set range to True, Also it's not supported when slider is used as form field.
Turning this into a feature request
Comment #4
Anonymous (not verified) commentedIn the Drupal field edit screen there wasn't a "True" option. Is that only available for a custom form and not Drupal configuration form? Thanks!
Comment #5
sinasalek commentedAs i said two handles are not supported via configuration form, however it will be implement in next versions
Comment #6
Anonymous (not verified) commentedOK - thanks a lot :)
Comment #7
shamsher_alam commentedHi sinasalek ,
Have you implement two handles with slider minimum and maximum range.
Comment #8
shamsher_alam commentedComment #9
sinasalek commented