Skip to main content

Inplace Editor API

Properties
NameTypeDefaultDescription
valuestringSets the content of the editor.
disabledbooleanfalsePrevents the editor from entering edit mode.
errorbooleanfalseSets the error state of the input.
maxlengthnumberMaximum number of characters allowed.
placeholderstringPlaceholder text shown when the editor is empty.
JavaScript API
NameKindDescription
valuegetterReturns the current visible text in display mode.
savedContentgetterReturns the last saved input value.
selectAllactionSelects all content in the editor and sets focus.
Events
EventDescriptionReturns
updateFires on blur with the current text content.{ detail: { value: string } }