Skip to main content

Interface: InputSingleProps

Defined in: forms/input/inputCommon.tsx:11

Props for a property input accepting a single value to edit.

Extended by

Properties

PropertyTypeDescription

factory

DataFactory

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

languages

readonly string[]

Languages to author text literals.

Usually provided by MetadataProvider.getLiteralLanguages.

placeholder?

string

Input placeholder text (if applicable).

readonly?

boolean

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

setValue

(value) => void

Sets the current value for the edited property.

shape

MetadataPropertyShape

Property shape metadata.

value

Literal | NamedNode<string>

Current value for the edited property.