From 6a6ab143a8a244d34d8ac0d3be109fb1c6ea2005 Mon Sep 17 00:00:00 2001 From: Adrian Date: Sat, 25 Jan 2025 17:43:55 -0600 Subject: [PATCH] changed to defaultValue --- ui/src/components/USBConfigDialog.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ui/src/components/USBConfigDialog.tsx b/ui/src/components/USBConfigDialog.tsx index 316233f..a1343ff 100644 --- a/ui/src/components/USBConfigDialog.tsx +++ b/ui/src/components/USBConfigDialog.tsx @@ -143,35 +143,35 @@ function UpdateUsbConfigModal({ required label="Vendor ID" placeholder="Enter Vendor ID" - value={usbConfigState?.vendor_id} + defaultValue={usbConfigState?.vendor_id} onChange={e => handleUsbVendorIdChange(e.target.value)} /> handleUsbProductIdChange(e.target.value)} /> handleUsbSerialChange(e.target.value)} /> handleUsbManufacturer(e.target.value)} /> handleUsbProduct(e.target.value)} />