CRUDUI

Home > @polyspec/crudui-validator > RangeFieldSpec

RangeFieldSpec interface

A range field (docs/spec/schema.md, Range fields): a number chosen on a slider whose bounds and increment are the literal range and step rules; the minimum is a multiple of the step.

Signature:

export interface RangeFieldSpec extends FieldSpec 

Extends: FieldSpec

Properties

Property

Modifiers

Type

Description

type

'range'

The range type.

validate

ValidateSlot & { range: [number, number]; step: number; }

Validation with the required literal bounds and step of the slider.