tuil
ReferenceComponentsForms and controls

EditableTableCell

EditableTableCell component API, behavior, and executable example.

View rawEdit

Loading executable example…

API and events

Connect semantic terminal controls to typed form state, validation, descriptions, errors, hints, and submission.

export const EditableTableCell: typeof TextInput;

Props, functions, and events

MemberTypeRequiredDescriptionRelated types
placeholderstring | undefinedNoThe placeholder member uses the string | undefined contract.
autoFocusboolean | undefinedNoThe autoFocus member uses the boolean | undefined contract.
variantstring | undefinedNoThe variant member uses the string | undefined contract.
size"sm" | "md" | "lg" | undefinedNoThe size member uses the "sm" | "md" | "lg" | undefined contract.
unstyledboolean | undefinedNoThe unstyled member uses the boolean | undefined contract.
classNamestring | undefinedNoThe className member uses the string | undefined contract.
layoutPartial<Omit<LayoutNodeInput, "id" | "children" | "semantics">> | undefinedNoThe layout member uses the Partial<Omit<LayoutNodeInput, "id" | "children" | "semantics">> | undefined contract.
idstring | undefinedNoThe id member uses the string | undefined contract.
testIdstring | undefinedNoThe testId member uses the string | undefined contract.
roleSemanticRole | undefinedNoThe role member uses the SemanticRole | undefined contract.SemanticRole
labelstring | undefinedNoThe label member uses the string | undefined contract.
descriptionstring | undefinedNoThe description member uses the string | undefined contract.
disabledboolean | undefinedNoThe disabled member uses the boolean | undefined contract.
readOnlyboolean | undefinedNoThe readOnly member uses the boolean | undefined contract.
selectedboolean | undefinedNoThe selected member uses the boolean | undefined contract.
checkedboolean | undefinedNoThe checked member uses the boolean | undefined contract.
expandedboolean | undefinedNoThe expanded member uses the boolean | undefined contract.
valueTextstring | undefinedNoThe valueText member uses the string | undefined contract.
maskstring | undefinedNoThe mask member uses the string | undefined contract.
sessionEditorSession | undefinedNoThe session member uses the EditorSession | undefined contract.EditorSession
editorProviderEditorProvider | undefinedNoThe editorProvider member uses the EditorProvider | undefined contract.EditorProvider
clipboardEditorClipboardAdapter | undefinedNoThe clipboard member uses the EditorClipboardAdapter | undefined contract.
documentTypestring | undefinedNoThe documentType member uses the string | undefined contract.
fieldAdaptedTanStackField<string> | undefinedNoThe field member uses the AdaptedTanStackField<string> | undefined contract.AdaptedTanStackField
valuestring | undefinedNoThe value member uses the string | undefined contract.
defaultValuestring | undefinedNoThe defaultValue member uses the string | undefined contract.
onValueChange((value: string) => void | Promise<void>) | undefinedNoThe onValueChange member uses the ((value: string) => void | Promise<void>) | undefined contract.
onSubmit((value: string) => void | Promise<void>) | undefinedNoThe onSubmit member uses the ((value: string) => void | Promise<void>) | undefined contract.
onBlur(() => void | Promise<void>) | undefinedNoThe onBlur member uses the (() => void | Promise<void>) | undefined contract.
validatorsFieldValidators<string> | undefinedNoThe validators member uses the FieldValidators<string> | undefined contract.FieldValidators
focusOrdernumber | undefinedNoThe focusOrder member uses the number | undefined contract.
maxLengthnumber | undefinedNoThe maxLength member uses the number | undefined contract.
onArrowUp(() => void | Promise<void>) | undefinedNoThe onArrowUp member uses the (() => void | Promise<void>) | undefined contract.
onArrowDown(() => void | Promise<void>) | undefinedNoThe onArrowDown member uses the (() => void | Promise<void>) | undefined contract.
registerWithFormboolean | undefinedNoThe registerWithForm member uses the boolean | undefined contract.

Controls expose onValueChange, onSubmit, focus, selection, and validation callbacks.

Callback props run after the documented input is accepted. Callbacks are not cancellable unless their return type or description states otherwise.

Interaction and capabilities

Text controls edit directly; choice controls use arrows and Space or Enter; Form coordinates validation and submission.

The published manifest records keyboard, focus, pointer, theme, terminal, semantic, event, and dependency requirements.

Complete import

import { EditableTableCell } from "@/components/tuil/forms/controls";

On this page