Leave Yamada UI a star

Star
Yamada UIYamada UIv1.7.2

Editable

Editable is a component used to obtain inline editable text input.

Source@yamada-ui/editable

If you are not using Fieldset, set aria-label or aria-labelledby to Editable.

<Editable defaultValue="オッス!オラ悟空!" aria-label="Feedback">
<EditablePreview />
<EditableInput />
</Editable>
Copied!
<VStack gap="sm">
<Text as="h3" id="label">
Feedback
</Text>
<Editable defaultValue="オッス!オラ悟空!" aria-labelledby="label">
<EditablePreview />
<EditableInput />
</Editable>
</VStack>
Copied!

ARIA Roles and Attributes

ComponentRole and AttributesUsage
EditableInputaria-invalidSet to "true" if isInvalid is set.
aria-disabledSet to "true" if isDisabled is set.
aria-readonlySet to "true" if isReadOnly is set.
aria-requiredSet to "true" if isRequired is set.
EditableTextareaaria-invalidSet to "true" if isInvalid is set.
aria-disabledSet to "true" if isDisabled is set.
aria-readonlySet to "true" if isReadOnly is set.
aria-requiredSet to "true" if isRequired is set.

Edit this page on GitHub

PreviousSaturationSliderNextRating