Skip to main content

DataFieldBlock

Reference

Parameters

tabIndex

Component data2-core-primitives@Number

dataset

The location of the Data you want to bind this field to.

Component data2-core-types@InteractiveModuleReference

field

Component data2-core-types@DataSetColumnReference

record

Component data2-core-types@Reference

recordUpsert

Component data2-core-primitives@Boolean

type

Component data2-core-primitives@String

One of 'text' | 'number' | 'time' | 'password' | 'checkbox' | 'month' | 'email' | 'range' | 'date' | 'datetime-local' | 'color' | 'radio'

mask

Applies a mask to the input, changing how the data is visualized, but not the data itself.

Component data2-core-primitives@String

placeholder

Component data2-core-primitives@String

disabled

Disables user interaction with the field.

Component data2-core-primitives@Boolean

autoComplete

Component data2-core-primitives@String

One of 'off' | 'on'

step

Component data2-core-primitives@Number

maxLength

Maximum length of a text field.

Component data2-core-primitives@Number

min

Component data2-core-primitives@Number

max

For numeric inputs, set the maximum allowed value.

Component data2-core-primitives@Number

orient

Component data2-core-primitives@String

One of 'vertical' | 'horizontal'

onChange

Component data2-core-types@Interaction

onFocus

Component data2-core-types@Interaction

onBlur

Component data2-core-types@Interaction

onKeyPress

Component data2-core-types@Interaction

padding

Component data2-core-primitives@Object

checkboxFill

Component data2-core-types@Color

autoCapitalize

Component data2-core-primitives@String

One of 'off' | 'on' | 'words' | 'characters'

spellCheck

Component data2-core-primitives@Boolean