Home Reference Source
import {ValidationChecker} from 'formiojs/src/components/Validator.js'
public class | source

ValidationChecker

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public

async: *

public get

check: *

public

validators: {"required": *, "unique": *, "multiple": *, "select": *, "min": *, "max": *, "minSelectedCount": *, "maxSelectedCount": *, "minLength": *, "maxLength": *, "maxWords": *, "minWords": *, "email": *, "url": *, "date": *, "day": *, "pattern": *, "json": *, "mask": *, "custom": *, "maxDate": *, "minDate": *, "calendar": *}

Method Summary

Public Methods
public

checkComponent(component: *, data: *, row: *, includeWarnings: boolean): *

public

checkValidator(component: *, validator: *, setting: *, value: *, data: *, index: *, row: *): *

public

each()

public

get()

public

has()

public

validate(component: *, validatorName: *, value: *, data: *, index: *, row: *): *

Public Constructors

public constructor() source

Public Members

public async: * source

public get check: * source

public validators: {"required": *, "unique": *, "multiple": *, "select": *, "min": *, "max": *, "minSelectedCount": *, "maxSelectedCount": *, "minLength": *, "maxLength": *, "maxWords": *, "minWords": *, "email": *, "url": *, "date": *, "day": *, "pattern": *, "json": *, "mask": *, "custom": *, "maxDate": *, "minDate": *, "calendar": *} source

Public Methods

public checkComponent(component: *, data: *, row: *, includeWarnings: boolean): * source

Params:

NameTypeAttributeDescription
component *
data *
row *
includeWarnings boolean
  • optional
  • default: false

Return:

*

public checkValidator(component: *, validator: *, setting: *, value: *, data: *, index: *, row: *): * source

Params:

NameTypeAttributeDescription
component *
validator *
setting *
value *
data *
index *
row *

Return:

*

public each() source

public get() source

public has() source

public validate(component: *, validatorName: *, value: *, data: *, index: *, row: *): * source

Params:

NameTypeAttributeDescription
component *
validatorName *
value *
data *
index *
row *

Return:

*