Skip to content

Commit

Permalink
Add list of countries
Browse files Browse the repository at this point in the history
  • Loading branch information
breiler committed May 2, 2024
1 parent 33fc101 commit 6cd350c
Showing 1 changed file with 53 additions and 8 deletions.
61 changes: 53 additions & 8 deletions src/pages/wifisettings/WiFiSettings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -447,20 +447,65 @@ const WiFiSettings = () => {
}
/>

<SelectField
label="Country"
placeholder="Country"
value={apCountry}
setValue={(value) => setApCountry("" + value)}
options={[
{ name: "01", value: "01" },
{ name: "AT", value: "AT" },
{ name: "AU", value: "AU" },
{ name: "BE", value: "BE" },
{ name: "BG", value: "BG" },
{ name: "BR", value: "BR" },
{ name: "CA", value: "CA" },
{ name: "CH", value: "CH" },
{ name: "CN", value: "CN" },
{ name: "CY", value: "CY" },
{ name: "CZ", value: "CZ" },
{ name: "DE", value: "DE" },
{ name: "DK", value: "DK" },
{ name: "EE", value: "EE" },
{ name: "ES", value: "ES" },
{ name: "FI", value: "FI" },
{ name: "FR", value: "FR" },
{ name: "GB", value: "GB" },
{ name: "GR", value: "GR" },
{ name: "HK", value: "HK" },
{ name: "HR", value: "HR" },
{ name: "HU", value: "HU" },
{ name: "IE", value: "IE" },
{ name: "IN", value: "IN" },
{ name: "IS", value: "IS" },
{ name: "IT", value: "IT" },
{ name: "JP", value: "JP" },
{ name: "KR", value: "KR" },
{ name: "LI", value: "LI" },
{ name: "LT", value: "LT" },
{ name: "LU", value: "LU" },
{ name: "LV", value: "LV" },
{ name: "MT", value: "MT" },
{ name: "MX", value: "MX" },
{ name: "NL", value: "NL" },
{ name: "NO", value: "NO" },
{ name: "NZ", value: "NZ" },
{ name: "PL", value: "PL" },
{ name: "PT", value: "PT" },
{ name: "RO", value: "RO" },
{ name: "SE", value: "SE" },
{ name: "SI", value: "SI" },
{ name: "SK", value: "SK" },
{ name: "TW", value: "TW" },
{ name: "US", value: "US" }
]}
/>
<TextField
label="Channel"
value={apChannel}
placeholder="Channel"
setValue={(value) => setApChannel("" + value)}
/>

<TextField
label="Country"
value={apCountry}
placeholder="Country"
setValue={(value) => setApCountry("" + value)}
/>

<TextField
label="IP"
value={apIP}
Expand Down

0 comments on commit 6cd350c

Please sign in to comment.