Skip to main content

Interface: FormInputTextProps

Defined in: forms/input/formInputText.tsx:18

Props for FormInputText component.

See

FormInputText

Extends

Properties

PropertyTypeDescriptionInherited from

factory

DataFactory

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

FormInputSingleProps.factory

languages

readonly string[]

Languages to author text literals.

Usually provided by MetadataProvider.getLiteralLanguages.

FormInputSingleProps.languages

multiline?

boolean

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

Default

false

placeholder?

string

Placeholder text for the form input.

Default

"Property value"

setValue

(value) => void

Sets the current value for the edited property.

FormInputSingleProps.setValue

shape

MetadataPropertyShape

Property shape metadata.

FormInputSingleProps.shape

value

Literal | NamedNode<string>

Current value for the edited property.

FormInputSingleProps.value