diff --git a/frontend/src/sections/devices/cwmp/devices-wifi.js b/frontend/src/sections/devices/cwmp/devices-wifi.js index b08202c..9e07c92 100644 --- a/frontend/src/sections/devices/cwmp/devices-wifi.js +++ b/frontend/src/sections/devices/cwmp/devices-wifi.js @@ -140,9 +140,18 @@ export const DevicesWiFi = () => { {item.password.value != null && { + applyContent[index].hasChanges = true + applyContent[index].password = { + value : e.target.value + } + setApplyContent([...applyContent]) + item.password.value = e.target.value + }} />} {item.standard.value != null && { label="Standard" disabled={!item.standard.writable} value={item.standard.value} + onChange={(e) => { + applyContent[index].hasChanges = true + applyContent[index].standard = { + value : e.target.value + } + setApplyContent([...applyContent]) + item.standard.value = e.target.value + }} />}