Added creatable option to Select

This commit is contained in:
Mitchell McCaffrey
2020-10-01 15:04:45 +10:00
parent 99b2bd0240
commit 1938f59060
3 changed files with 12 additions and 3 deletions

View File

@@ -108,6 +108,7 @@ function MapSettings({
{ value: "hex", label: "Hex (Coming Soon)" },
]}
isOptionDisabled={(option) => option.value === "hex"}
isSearchable={false}
/>
</Box>
<Flex sx={{ width: "50%", flexDirection: "column" }} ml={2}>
@@ -152,6 +153,7 @@ function MapSettings({
(option.value !== "original" &&
!map.resolutions[option.value])
}
isSearchable={false}
/>
</Box>
<Label sx={{ width: "50%" }} ml={2}>