Home Reference Source
import RadioComponent from 'formiojs/src/components/radio/Radio.js'
public class | source

RadioComponent

Extends:

src/components/_classes/component/Component.js~ComponentField → RadioComponent

Static Member Summary

Static Public Members
public static get

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

Static Method Summary

Static Public Methods
public static

schema(extend: ...*): *

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public
public get
public get
public get
public get
public get

isRadio: *

public get
public
public

Method Summary

Public Methods
public

attach(element: *): *

public

detach(element: *)

public

getValue(): *

public

getValueAsString(value: *): *

public

init()

public

normalizeValue(value: *): *

Normalize values coming into updateValue.

public

render(): *

public
public

setValueAt(index: *, value: *)

public

updateValue(value: *, flags: *): *

public

validateValueAvailability(setting: *, value: *): boolean

Inherited Summary

From class Field
public

render(element: *): *

Static Public Members

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

Static Public Methods

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

Params:

NameTypeAttributeDescription
extend ...*

Return:

*

Public Constructors

public constructor() source

Public Members

public currentValue: * source

public get defaultSchema: * source

public get defaultValue: * source

public get emptyValue: string source

public get inputInfo: * source

public get isRadio: * source

public get optionSelectedClass: string source

public previousValue: * source

public validators: * source

Public Methods

public attach(element: *): * source

Params:

NameTypeAttributeDescription
element *

Return:

*

public detach(element: *) source

Params:

NameTypeAttributeDescription
element *

public getValue(): * source

Return:

*

public getValueAsString(value: *): * source

Params:

NameTypeAttributeDescription
value *

Return:

*

public init() source

public normalizeValue(value: *): * source

Normalize values coming into updateValue.

Params:

NameTypeAttributeDescription
value *

Return:

*

public render(): * source

Override:

Field#render

Return:

*

public setSelectedClasses() source

public setValueAt(index: *, value: *) source

Params:

NameTypeAttributeDescription
index *
value *

public updateValue(value: *, flags: *): * source

Params:

NameTypeAttributeDescription
value *
flags *

Return:

*

public validateValueAvailability(setting: *, value: *): boolean source

Params:

NameTypeAttributeDescription
setting *
value *

Return:

boolean