Range slider

Overview

The component is used to specify a range between two numbers. It allows setting the start and end values, minimum/maximum limits, step size, and supports custom rules validation.

Properties

Name
Type
Description

name

string

Component name

value

value: array

Current component value

valid

boolean

Indicates if the component is valid

disabled

boolean

Indicates whether the component is disabled

validating

boolean

Indicates if the component is validating

Methods

Name
Parameters
Returns
Description

setValue

value: array

void

Set component value

setDisabled

value: boolean

void

Disable or enable the component

reset

โ€“

void

Reset the component to the initial value

focus

โ€“

void

Set focus on the component

validate

โ€“

void

Trigger component validation

resetValidation

โ€“

void

Clear validation errors

setErrors

errors: string |

string[] | null

void

Mark the component as invalid and display errors

setRequired

required: boolean

void

Set component required state

Triggers

Name
Description

On Change

Triggered when the component's state changes

On Focus

Triggered when the component is in focus

On Blur

Triggered when the component loses focus

On Init

Triggered when the component is initialized

Last updated

Was this helpful?