Skip to content

Commit

Permalink
Fix ViewEditPeripheral form id prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
tomcur committed Aug 15, 2023
1 parent 7ec566c commit 0311699
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export default function ViewEditPeripheral({
{editing ? (
<>
<PeripheralForm
idPrefix="peripheralForm"
idPrefix={`peripheralForm.${peripheral.id}`}
schema={schema}
uiSchema={{}}
send={sendUpdate}
Expand All @@ -119,6 +119,7 @@ export default function ViewEditPeripheral({
) : (
<>
<RjsfForm
idPrefix={`peripheralForm.${peripheral.id}`}
schema={schema}
uiSchema={{}}
disabled={true}
Expand Down

0 comments on commit 0311699

Please sign in to comment.