Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions packages/eui/changelogs/upcoming/8307.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Updated `EuiInlineEditForm`'s `onCancel` prop type to allow uncontrolled mode usage

Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ export type EuiInlineEditCommonProps = Omit<
* Initial inline edit text value
*/
defaultValue: string;
onCancel?: (previousValue: string) => void;
},
{
/**
Expand All @@ -109,7 +110,7 @@ export type EuiInlineEditCommonProps = Omit<
/**
* Callback required to reset `value` to the previous read mode text value.
*/
onCancel: (perviousValue: string) => void;
onCancel: (previousValue: string) => void;
}
>;

Expand Down