Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/master' into 52843
Browse files Browse the repository at this point in the history
  • Loading branch information
alexwizp committed Jan 16, 2020
2 parents 0fbaf16 + 41f7203 commit 0293cb2
Showing 1 changed file with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,15 @@ export const DocumentFieldsHeader = React.memo(({ searchValue, onSearchChange }:
}
)}
value={searchValue}
onChange={e => onSearchChange(e.target.value)}
onChange={e => {
// Temporary fix until EUI fixes the contract
// See my comment https://github.com/elastic/eui/pull/2723/files#r366725059
if (typeof e === 'string') {
onSearchChange(e);
} else {
onSearchChange(e.target.value);
}
}}
aria-label={i18n.translate(
'xpack.idxMgmt.mappingsEditor.documentFields.searchFieldsAriaLabel',
{
Expand Down

0 comments on commit 0293cb2

Please sign in to comment.