The tbSimpleEditor component is the basic input to show in a grid or form. It uses the TubularModel to retrieve column or field information.

Component's attributes

Param Type Details
name string

Set the field name.

value object

Set the value.

isEditing boolean

Indicate if the field is showing editor.

editorType string

Set what HTML input type should display.

showLabel boolean

Set if the label should be display.

label string

Set the field's label otherwise the name is used.

placeholder string

Set the placeholder text.

help string

Set the help text.

required boolean

Set if the field is required.

readOnly boolean

Set if the field is read-only.

min number

Set the minimum characters.

max number

Set the maximum characters.

regex string

Set the regex validation text.

regexErrorMessage string

Set the regex validation error message.

match string

Set the field name to match values.

defaultValue string

Set the default value.