Skip to content

Commit

Permalink
give keys to MapWidget.
Browse files Browse the repository at this point in the history
  • Loading branch information
jacksonrnewhouse committed Nov 21, 2023
1 parent ea74d65 commit 3b01770
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arroyo-console/src/routes/connections/JsonForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -349,9 +349,9 @@ export function MapWidget({
<FormControl isRequired={true} isInvalid={pair.error != undefined}>
<Flex gap={2} alignItems={'flex-end'}>
<Flex gap={2} flex={1} alignItems={'center'} key={i}>
<Input value={pair.key} onChange={e => updateKeyValue(i, e.target.value, pair.value)} />
<Input id={i + "_key"} value={pair.key} onChange={e => updateKeyValue(i, e.target.value, pair.value)} />
<Text></Text>
<Input value={pair.value} onChange={e => updateKeyValue(i, pair.key, e.target.value)} />
<Input id={i+"_value"} value={pair.value} onChange={e => updateKeyValue(i, pair.key, e.target.value)} />
</Flex>
<IconButton
width={8}
Expand Down

0 comments on commit 3b01770

Please sign in to comment.