voyager-admin/voyager

View on GitHub
docs/formfields/slider.md

Summary

Maintainability
Test Coverage
# Slider

The slider allows you to select a number between a given minimum and maximum value.  
A range options makes it possible to select two values where one is the lower and the other is the higher value.

![Simple Slider](/formfields/slider/slider.png) 

## Options

### Min

The minimum value

### Max

The maximum value

### Step

Specifies the interval between numbers.

### Range

Set to true to select a range.  
Please make sure your column is JSON!

![Range-slider](/formfields/slider/range.png) 

### Distance

The minimum distance between the lower and higher value.  
Used when `range` is true.

### Show inputs

Additionally show number inputs for manually entering the value.

### Color

Select the color of the slider.