Faulty code Example on module page

Created on 22 March 2019, over 5 years ago
Updated 15 January 2024, 10 months ago

Thanks for this great module.

The code example given on the module page is faulty. The #type property should be changed to "rangeslider_range" as below

$form['example'] = [
  '#type' => 'rangeslider_range',
  '#title' => 'Rangeslider element',
  '#min' => 5,
  '#max' => 30,
  '#step' => 2,
  '#default_value' => 12,
  '#description' => 'Example range slider form element.',
  '#data-orientation' => 'horizontal',
  '#output' => 'below',
];
🐛 Bug report
Status

Fixed

Component

Documentation

Created by

🇹🇷Turkey makbay

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024