Skip to content

Commit

Permalink
add name to legend select
Browse files Browse the repository at this point in the history
  • Loading branch information
juandjara committed Mar 8, 2024
1 parent 8cc860a commit 6acf3e2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/react-ui/src/widgets/legend/LegendLayerVariable.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@ export default function LegendLayerVariable({
{legend.select.label}
</Typography>
<Select
data-testid='legend-layer-variable-select'
name='legend-select'
value={legend.select.value}
renderValue={(value) =>
selectOptions.find((option) => option.value === value)?.label || value
Expand Down

0 comments on commit 6acf3e2

Please sign in to comment.