mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 10:00:01 -03:30
Adds ouia id's to typeahead select components
This commit is contained in:
parent
060578b30b
commit
1c7fbc2806
@ -148,6 +148,7 @@ function CredentialFormFields({ i18n, credentialTypes }) {
|
||||
label={i18n._(t`Credential Type`)}
|
||||
>
|
||||
<Select
|
||||
ouiaId="CredentialForm-credential_type"
|
||||
aria-label={i18n._(t`Credential Type`)}
|
||||
isOpen={isSelectOpen}
|
||||
variant={SelectVariant.typeahead}
|
||||
|
||||
@ -42,6 +42,7 @@ function BecomeMethodField({ fieldOptions, isRequired }) {
|
||||
validated={!(meta.touched && meta.error) ? 'default' : 'error'}
|
||||
>
|
||||
<Select
|
||||
ouiaId={`CredentialForm-${fieldOptions.id}`}
|
||||
maxHeight={200}
|
||||
variant={SelectVariant.typeahead}
|
||||
onToggle={setIsOpen}
|
||||
|
||||
@ -109,6 +109,7 @@ const SCMSubForm = ({ autoPopulateProject, i18n }) => {
|
||||
}
|
||||
>
|
||||
<Select
|
||||
ouiaId="InventorySourceForm-source_path"
|
||||
variant={SelectVariant.typeahead}
|
||||
onToggle={setIsOpen}
|
||||
isOpen={isOpen}
|
||||
|
||||
@ -50,6 +50,7 @@ function PlaybookSelect({
|
||||
|
||||
return (
|
||||
<Select
|
||||
ouiaId="JobTemplateForm-playbook"
|
||||
isOpen={isOpen}
|
||||
variant={SelectVariant.typeahead}
|
||||
selections={selected}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user