Wizard: Update activation keys dropdown

This updates key dropdown's helper text to match recent mocks.

Also checked other criteria:
- the input is clearable
- current selection is marked with a check in the list of options
This commit is contained in:
regexowl 2025-07-15 09:21:20 +02:00 committed by Klara Simickova
parent c2e94100db
commit 2406d14304
2 changed files with 12 additions and 7 deletions

View file

@ -7,11 +7,13 @@ import {
Select,
SelectList,
SelectOption,
Content,
MenuToggleElement,
MenuToggle,
TextInputGroup,
TextInputGroupMain,
FormHelperText,
HelperText,
HelperTextItem,
} from '@patternfly/react-core';
import { useAddNotification } from '@redhat-cloud-services/frontend-components-notifications/hooks';
@ -254,11 +256,14 @@ const ActivationKeysList = () => {
>
<SelectList>{prepareSelectOptions()}</SelectList>
</Select>
<Content>
<Content>
Create and manage activation keys on the <ManageKeysButton />
</Content>
</Content>
<FormHelperText>
<HelperText>
<HelperTextItem>
Image Builder provides and defaults to a no-cost activation key if
none exist. <ManageKeysButton />
</HelperTextItem>
</HelperText>
</FormHelperText>
</FormGroup>
{isErrorActivationKeys && (
<Alert

View file

@ -16,7 +16,7 @@ const ManageKeysButton = () => {
isInline
href={ACTIVATION_KEYS_URL}
>
Activation keys page
Manage Activation keys
</Button>
);
};