wizard: add support of TextArea for ssh_key field
this commit add support of TextArea for ssh_key field
This commit is contained in:
parent
7d34d30b08
commit
771a582916
8 changed files with 60 additions and 41 deletions
|
|
@ -26,7 +26,7 @@ import {
|
|||
selectAwsAccountId,
|
||||
selectAwsShareMethod,
|
||||
} from '../../../../../store/wizardSlice';
|
||||
import { ValidatedTextInput } from '../../../ValidatedTextInput';
|
||||
import { ValidatedInput } from '../../../ValidatedInput';
|
||||
import { isAwsAccountIdValid } from '../../../validators';
|
||||
|
||||
export type AwsShareMethod = 'manual' | 'sources';
|
||||
|
|
@ -123,7 +123,7 @@ const Aws = () => {
|
|||
{shareMethod === 'manual' && (
|
||||
<>
|
||||
<FormGroup label="AWS account ID" isRequired>
|
||||
<ValidatedTextInput
|
||||
<ValidatedInput
|
||||
ariaLabel="aws account id"
|
||||
value={shareWithAccount || ''}
|
||||
validator={isAwsAccountIdValid}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue