[EuiInlineEdit] Create value
prop for full control over inline edit text and title values
#7084
Labels
value
prop for full control over inline edit text and title values
#7084
Is your feature request related to a problem? Please describe.
EuiInlineEdit
is currently a self-contained component that allows consumers to set adefaultValue
, but currently no way to update or control that value without un-mounting and remounting the component. TheeditMode
value within the text form control can be manipulated witheditModeProps
, but thereadModeValue
that appears in the empty button cannot be modified at all.Describe the solution you'd like
Create an optional
value
prop that accepts a string. When thevalue
prop is passed, it will take precedence over the inline edit internalreadMode
value and any placeholder passed to the component. It should also be passed as the starting value for theeditMode
form control.eui/src/components/inline_edit/inline_edit_form.tsx
Line 324 in 90a52ae
The text was updated successfully, but these errors were encountered: