Bereich
Unter- und Obergrenze auf einer Spur, mit Skala und deaktiviert.
Zeitraum
Preis
Zeitraum
Formulare
Choose a lower and upper bound (Figma: Range Slider), form-associated <tc-range-slider>. Two native range inputs share one track; the thumbs cannot cross. Submits name_min and name_max.
Unter- und Obergrenze auf einer Spur, mit Skala und deaktiviert.
| Option | Standard | Werte | Beschreibung |
|---|---|---|---|
name_min | '' | – | Field name of the lower bound. |
name_max | '' | – | Field name of the upper bound. |
value_min | 20 | – | Lower bound. |
value_max | 60 | – | Upper bound. |
label | '' | – | Visible label text. |
required | False | – | Mark as required: native required attribute plus a red asterisk. |
optional | False | – | Show the "optional" marker after the label (ignored when required). |
label_icon | '' | – | Explanation shown as a help icon with tooltip after the label. |
hide_label | False | – | Keep the label for assistive technology only. |
help | '' | – | Hint below the control (Figma: Hint / Help Text). |
error | '' | – | Error message or list of messages (e.g. Django field.errors); sets the error state, aria-invalid and aria-describedby. Replaces the hint while shown. |
state | '' | Validation state without an error message: success or warning colour the border and the hint. | |
min | 0 | – | Minimum value. |
max | 100 | – | Maximum value. |
step | 1 | – | Step size. |
unit | '' | – | Unit appended to the shown value, e.g. " %" or " Tage". |
scale | False | – | Ticks and labels below the track: True for five even marks or "0|25|50|75|100". |
show_value | True | – | Show the current value at the end of the label row. |
disabled | False | – | Disable the slider. |
Zusätzliche Attribute (z. B. class, aria-*, data-*) und HTMX-Kurzformen (get, post, get_url, post_url, target, swap, trigger, confirm) werden an das Element „root“ durchgereicht.