Class: FieldValidation
Hierarchy
FieldValidation
Constructors
constructor
• new FieldValidation(message
, status
, code
)
Parameters
Name | Type |
---|---|
message | string |
status | ValidationStatus |
code | ValidationCode |
Defined in
onekijs/packages/onekijs-framework/src/form/FieldValidation.ts:9
Properties
code
• code: ValidationCode
Defined in
onekijs/packages/onekijs-framework/src/form/FieldValidation.ts:7
message
• message: string
Defined in
onekijs/packages/onekijs-framework/src/form/FieldValidation.ts:5
status
• status: ValidationStatus
Defined in
onekijs/packages/onekijs-framework/src/form/FieldValidation.ts:6
Methods
equals
▸ equals(otherValidation?
): boolean
Parameters
Name | Type |
---|---|
otherValidation? | FieldValidation |
Returns
boolean
Defined in
onekijs/packages/onekijs-framework/src/form/FieldValidation.ts:47
isError
▸ isError(): boolean
Returns
boolean
Defined in
onekijs/packages/onekijs-framework/src/form/FieldValidation.ts:23
isLoading
▸ isLoading(): boolean
Returns
boolean
Defined in
onekijs/packages/onekijs-framework/src/form/FieldValidation.ts:15
isNotLoading
▸ isNotLoading(): boolean
Returns
boolean
Defined in
onekijs/packages/onekijs-framework/src/form/FieldValidation.ts:19
isNotOK
▸ isNotOK(): boolean
Returns
boolean
Defined in
onekijs/packages/onekijs-framework/src/form/FieldValidation.ts:35
isNotValidated
▸ isNotValidated(): boolean
Returns
boolean
Defined in
onekijs/packages/onekijs-framework/src/form/FieldValidation.ts:43
isOK
▸ isOK(): boolean
Returns
boolean
Defined in
onekijs/packages/onekijs-framework/src/form/FieldValidation.ts:31
isValidated
▸ isValidated(): boolean
Returns
boolean
Defined in
onekijs/packages/onekijs-framework/src/form/FieldValidation.ts:39
isWarning
▸ isWarning(): boolean
Returns
boolean
Defined in
onekijs/packages/onekijs-framework/src/form/FieldValidation.ts:27