From 3fc981583744dcbfd1e8b7ac14f9865af294bee0 Mon Sep 17 00:00:00 2001 From: Matthew McGinn Date: Thu, 13 Aug 2020 16:56:17 -0400 Subject: [PATCH] allow connections to open networks by providing a default arg Connects-to: https://github.com/balena-io/wifi-connect/issues/343 Change-type: patch Signed-off-by: Matthew McGinn --- ui/src/components/NetworkInfoForm.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/ui/src/components/NetworkInfoForm.tsx b/ui/src/components/NetworkInfoForm.tsx index 9dedf7e3..4d7e9598 100644 --- a/ui/src/components/NetworkInfoForm.tsx +++ b/ui/src/components/NetworkInfoForm.tsx @@ -25,6 +25,7 @@ const getSchema = (availableNetworks: Network[]): JSONSchema6 => ({ passphrase: { title: 'Passphrase', type: 'string', + default: '', }, }, required: ['ssid'],