StrikekitStrikekit

set

Set a native range input value by label

Set the value of a native <input type="range"> by label.

Syntax

When I set "<label>" to "<value>" [by …]

Qualifiers

QualifierRoleExample
toNumeric (or string) value to setset "Volume" to "75"
by …Optional find hintset "volume" by id to "75"

Requirements

ItemContract
Element / control shapeNative <input type="range"> only (checked after resolve)
How the label bindsrange aria-label → label + range → range id → range name
Qualifiers that change resolveto = value payload; optional by …
PlatformWeb only (v1)
Wrong shape → use insteadOther inputs → fill. Custom slider widgets → not supported

When it fails

  • not a native range input — resolved element is not type=range.
  • Glob labels are not supported on set.

See also UI contracts.

Examples

When I set "Volume" to "75"

Notes

  • Native range inputs only in v1. Custom slider widgets are not supported yet.
  • Non-range elements fail with a clear error.
  • Uses action resolve auto-wait (~30s).
  • Web only for v1.

On this page