wizard: add support of TextArea for ssh_key field

this commit add support of TextArea for ssh_key field
This commit is contained in:
Michal Gold 2025-01-12 10:43:47 +02:00 committed by Lucas Garfield
parent 7d34d30b08
commit 771a582916
8 changed files with 60 additions and 41 deletions

View file

@ -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}