Skip to main content

Class: ContainerValidation

Hierarchy

Constructors

constructor

new ContainerValidation(message, status, code, fields)

Parameters

NameType
messagestring
statusValidationStatus
codeValidationCode
fieldsAnonymousObject<string>

Overrides

FieldValidation.constructor

Defined in

onekijs/packages/onekijs-framework/src/form/ContainerValidation.ts:8

Properties

code

code: ValidationCode

Inherited from

FieldValidation.code

Defined in

onekijs/packages/onekijs-framework/src/form/FieldValidation.ts:7


fields

fields: AnonymousObject<string>

Defined in

onekijs/packages/onekijs-framework/src/form/ContainerValidation.ts:7


message

message: string

Inherited from

FieldValidation.message

Defined in

onekijs/packages/onekijs-framework/src/form/FieldValidation.ts:5


status

status: ValidationStatus

Inherited from

FieldValidation.status

Defined in

onekijs/packages/onekijs-framework/src/form/FieldValidation.ts:6

Methods

equals

equals(otherValidation?): boolean

Parameters

NameType
otherValidation?FieldValidation

Returns

boolean

Inherited from

FieldValidation.equals

Defined in

onekijs/packages/onekijs-framework/src/form/FieldValidation.ts:47


isError

isError(): boolean

Returns

boolean

Inherited from

FieldValidation.isError

Defined in

onekijs/packages/onekijs-framework/src/form/FieldValidation.ts:23


isLoading

isLoading(): boolean

Returns

boolean

Inherited from

FieldValidation.isLoading

Defined in

onekijs/packages/onekijs-framework/src/form/FieldValidation.ts:15


isNotLoading

isNotLoading(): boolean

Returns

boolean

Inherited from

FieldValidation.isNotLoading

Defined in

onekijs/packages/onekijs-framework/src/form/FieldValidation.ts:19


isNotOK

isNotOK(): boolean

Returns

boolean

Inherited from

FieldValidation.isNotOK

Defined in

onekijs/packages/onekijs-framework/src/form/FieldValidation.ts:35


isNotValidated

isNotValidated(): boolean

Returns

boolean

Inherited from

FieldValidation.isNotValidated

Defined in

onekijs/packages/onekijs-framework/src/form/FieldValidation.ts:43


isOK

isOK(): boolean

Returns

boolean

Inherited from

FieldValidation.isOK

Defined in

onekijs/packages/onekijs-framework/src/form/FieldValidation.ts:31


isValidated

isValidated(): boolean

Returns

boolean

Inherited from

FieldValidation.isValidated

Defined in

onekijs/packages/onekijs-framework/src/form/FieldValidation.ts:39


isWarning

isWarning(): boolean

Returns

boolean

Inherited from

FieldValidation.isWarning

Defined in

onekijs/packages/onekijs-framework/src/form/FieldValidation.ts:27