Skip to main content

Interface: InputTextProps

Defined in: src/forms/input/inputText.tsx:16

Props for InputText component.

See​

InputText

Extends​

Properties​

PropertyTypeDescriptionInherited from

factory

DataFactory

RDF/JS-compatible term factory to create RDF terms.

InputSingleProps.factory

languages

readonly string[]

Languages to author text literals.

Usually provided by MetadataProvider.getLiteralLanguages.

InputSingleProps.languages

multiline?

boolean

Whether to use multiline textarea to display and edit the text value.

Default

false

‐

placeholder?

string

Input placeholder text (if applicable).

InputSingleProps.placeholder

readonly?

boolean

Whether the property input should be read-only (disabled).

InputSingleProps.readonly

setValue

(value) => void

Sets the current value for the edited property.

InputSingleProps.setValue

shape

MetadataPropertyShape

Property shape metadata.

InputSingleProps.shape

value

Literal | NamedNode<string>

Current value for the edited property.

InputSingleProps.value