Skip to main content

InputForm

A form with multiple inputs inside

Extends

Constructors

new InputForm()

new InputForm(dart): InputForm

Parameters

ParameterType
dartany

Returns

InputForm

Overrides

DartWrapper . constructor

Source

src/widgets.ts:1224

Properties

PropertyTypeInherited from
dartanyDartWrapper.dart

Accessors

isValid

get isValid(): boolean

Returns

boolean

Source

src/widgets.ts:1249


onInputChanged

get onInputChanged(): Observable <EventData <InputArgs>>

Occurs when user changes any input value in a form.

Returns

Observable <EventData <InputArgs>>

Source

src/widgets.ts:1244


onValidationCompleted

get onValidationCompleted(): Observable<any>

Occurs after the form is validated, no matter whether it is valid or not.

Returns

Observable<any>

Source

src/widgets.ts:1247


root

get root(): HTMLElement

Returns

HTMLElement

Source

src/widgets.ts:1235


source

get source(): any

set source(source): void

Parameters

ParameterType
sourceany

Returns

any

Source

src/widgets.ts:1239

Methods

getInput()

getInput(propertyName): InputBase<any>

Parameters

ParameterType
propertyNamestring

Returns

InputBase<any>

Source

src/widgets.ts:1237


forFuncCall()

static forFuncCall(funcCall, options?): Promise <InputForm>

Creates an InputForm for the specified function call.

Parameters

ParameterType
funcCallFuncCall
options?object
options.twoWayBinding?boolean

Returns

Promise <InputForm>

Source

src/widgets.ts:1227


forInputs()

static forInputs(inputs): InputForm

Parameters

ParameterType
inputsInputBase<any>[]

Returns

InputForm

Source

src/widgets.ts:1231