Skip to content

Commit e07e45d

Browse files
committed
add warning about min max for slider
1 parent 653c6cc commit e07e45d

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

src/layer/numbers/index.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Prefer a video? Here is a short tutorial about number widgets:
2222
<YouTube id="woZX3L33xh0" />
2323

2424
## Range
25-
To set up the **editable range widget**:
25+
To set up the **Editable Range widget**:
2626

2727
1. Right-click on a layer, select **Properties** and go to the **Attributes form** tab.
2828
2. In the list of **Available Widgets**, select the integer field you want to work with (here: `numbers-range-editable`).
@@ -50,7 +50,13 @@ To set up the **Slider**:
5050
2. In the list of **Available Widgets**, select the numeric field you want to work with (here: `numbers-range-slider`).
5151
3. In the **Widget Type** tab, select the **Range** widget with the **Slider** option.
5252

53-
Set the **Minimum**, **Maximum**, and **Step** values of the slider as needed.
53+
Set the **Minimum**, **Maximum**, and **Step** values of the slider.
54+
55+
:::warning Recommended slider setup
56+
Using a slider is most effective when users can easily choose a value. If the range between the minimum and maximum values is too large (and/or the step is is too small), it may be difficult to select a specific value on the slider, leading to issues with the <MobileAppNameShort />.
57+
58+
Therefore we recommend always defining appropriate minimum, maximum, and step values for the slider.
59+
:::
5460

5561
![QGIS number range field form](./qgis-form-number-range-slider.jpg "QGIS number range field form")
5662

0 commit comments

Comments
 (0)