Skip to content

WidgetContextRawState

Properties

adaptedValue

The widget’s value adapted for UI concerns.

Type: WritableComputedRef

Source: client/lib/use/useWidget.js:176

combinedLabel

The effective label of the widget.

Type: ComputedRef

Source: client/lib/use/useWidget.js:166

combinedName

The effective name of the widget, from props or field context.

Type: ComputedRef

Source: client/lib/use/useWidget.js:162

combinedValue

The widget’s effective form value (local or contextual).

Type: WritableComputedRef

Source: client/lib/use/useWidget.js:175

dependencyValues

Dependency values from context, if any.

Type: ComputedRef

Source: client/lib/use/useWidget.js:190

disabled

Whether the widget is disabled.

Type: ComputedRef

Source: client/lib/use/useWidget.js:187

fieldToWidget

The value adapter for turing form values into values suitable for UI concerns.

Type: ComputedRef

Source: client/lib/use/useWidget.js:177

focused

Whether the widget is currently focused.

Type: ComputedRef

Source: client/lib/use/useWidget.js:184

formModelName

The form model name from the field context.

Type: ComputedRef

Source: client/lib/use/useWidget.js:163

help

The help text, from props or field context.

Type: ComputedRef

Source: client/lib/use/useWidget.js:167

readOnly

Whether the widget is read-only.

Type: ComputedRef

Source: client/lib/use/useWidget.js:168

required

Whether the widget is required.

Type: ComputedRef

Source: client/lib/use/useWidget.js:171

touched

Whether the widget has been interacted with.

Type: ComputedRef

Source: client/lib/use/useWidget.js:183

validationState

Validation state flags.

Type: ComputedRef

Source: client/lib/use/useWidget.js:172

widgetToField

The value adapter for the widget values back into form values, for validation and submission concerns.

Type: ComputedRef

Source: client/lib/use/useWidget.js:179

Source

client/lib/use/useWidget.js:159

Documents matching: server v3.0.0a1.post1client v3.0.0-alpha.2