From 316c660d46bf7060cb72e0fa79001b7e684f0019 Mon Sep 17 00:00:00 2001 From: "Robin E. R. Davies" Date: Thu, 14 Nov 2024 18:51:24 -0500 Subject: [PATCH] WifiConfigDialog: update channels when country code changes. --- react/src/WifiConfigDialog.tsx | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/react/src/WifiConfigDialog.tsx b/react/src/WifiConfigDialog.tsx index 886af57..45bb665 100644 --- a/react/src/WifiConfigDialog.tsx +++ b/react/src/WifiConfigDialog.tsx @@ -526,23 +526,11 @@ const WifiConfigDialog = withStyles(styles, { withTheme: true })( { if (value) { this.setState({ countryCode: value.id }) } }} + onChange={(event, value) => { if (value) { this.handleCountryChanged({ countryCode: value.id }) } }} options={this.getCountryCodeOptions()} renderInput={(params) => ()} disabled={!enabled} /> - {/* - - */} -