mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
[DataViews] Fix form validation UX when the same data view name already exists (#146126)
Closes https://github.com/elastic/kibana/issues/138958 ## Summary This PR fixes form UX when the same data view name already exists. 
This commit is contained in:
parent
2c9043ab43
commit
0e327d3c67
1 changed files with 6 additions and 1 deletions
|
@ -339,7 +339,12 @@ const IndexPatternEditorFlyoutContentComponent = ({
|
||||||
})}
|
})}
|
||||||
</EuiLink>
|
</EuiLink>
|
||||||
)}
|
)}
|
||||||
<Form form={form} className="indexPatternEditor__form">
|
<Form
|
||||||
|
form={form}
|
||||||
|
className="indexPatternEditor__form"
|
||||||
|
error={form.getErrors()}
|
||||||
|
isInvalid={form.isSubmitted && !form.isValid}
|
||||||
|
>
|
||||||
<UseField path="isAdHoc" />
|
<UseField path="isAdHoc" />
|
||||||
{indexPatternTypeSelect}
|
{indexPatternTypeSelect}
|
||||||
<EuiSpacer size="l" />
|
<EuiSpacer size="l" />
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue