Home Reference Source
import DateTimeComponent from 'formiojs/src/components/datetime/DateTime.js'
public class | source

DateTimeComponent

Extends:

src/components/_classes/input/Input.js~Input → DateTimeComponent

Static Member Summary

Static Public Members
public static get

builderInfo: {"title": string, "group": string, "icon": string, "documentation": string, "weight": number, "schema": *}

Static Method Summary

Static Public Methods
public static

schema(extend: ...*): *

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public get
public get
public get
public get

Method Summary

Public Methods
public

checkValidity(data: *, dirty: *, rowData: *): *

public
public

formatValue(input: *): *

public

getValueAsString(value: *): *

public

isEmpty(value: *): *

public

isEqual(valueA: *, valueB: *): *

public

performInputMapping(input: *): *

Static Public Members

public static get builderInfo: {"title": string, "group": string, "icon": string, "documentation": string, "weight": number, "schema": *} source

Static Public Methods

public static schema(extend: ...*): * source

Params:

NameTypeAttributeDescription
extend ...*

Return:

*

Public Constructors

public constructor() source

Public Members

public get defaultSchema: * source

public get defaultValue: * source

public get emptyValue: string source

public get momentFormat: * source

Public Methods

public checkValidity(data: *, dirty: *, rowData: *): * source

Params:

NameTypeAttributeDescription
data *
dirty *
rowData *

Return:

*

public createWrapper(): boolean source

Return:

boolean

public formatValue(input: *): * source

Params:

NameTypeAttributeDescription
input *

Return:

*

public getValueAsString(value: *): * source

Params:

NameTypeAttributeDescription
value *

Return:

*

public isEmpty(value: *): * source

Params:

NameTypeAttributeDescription
value *
  • optional

Return:

*

public isEqual(valueA: *, valueB: *): * source

Params:

NameTypeAttributeDescription
valueA *
valueB *
  • optional

Return:

*

public performInputMapping(input: *): * source

Params:

NameTypeAttributeDescription
input *

Return:

*