fix inputs not blurring when pressing enter (#4692)

This commit is contained in:
Andreas Schmidt authored and GitHub committed 2022-01-19 08:27:55 -05:00
1 parent b7cb10521e
commit 86f14a9cdf
3 files changed
+25 -2

No files matched your search

@@ -54,6 +54,7 @@ export class EditableList<T> extends React.Component<Props<T>> {
onSubmit={this.onSubmit}
validators={validators}
placeholder={placeholder}
blurOnEnter={false}
iconRight={({ isDirty }) => isDirty ? <Icon material="keyboard_return" size={16} /> : null}
/>
</div>