Skip to content

Commit

Permalink
Accessibility fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ashley-o0o committed Jan 17, 2025
1 parent 1e7ce38 commit 77112be
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,13 @@ const EnvTypeSelectField: React.FC<EnvTypeSelectFieldProps> = ({
onUpdate,
onRemove,
}) => (
<FormGroup isRequired label="Variable type">
<FormGroup isRequired label="Variable type" fieldId="environment-variable-type-select">
<Split data-testid="environment-variable-field">
<SplitItem isFilled>
<Stack hasGutter>
<StackItem data-testid="environment-variable-type-select">
<SimpleSelect
toggleProps={{ id: 'environment-variable-type-select' }}
popperProps={{ appendTo: getDashboardMainContainer() }}
isFullWidth
toggleLabel={envVariable.type || 'Select environment variable type'}
Expand Down

0 comments on commit 77112be

Please sign in to comment.