We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 632d4d9 commit 1863398Copy full SHA for 1863398
src/RegionLabel/index.js
@@ -12,6 +12,8 @@ import TrashIcon from "@material-ui/icons/Delete"
12
import CheckIcon from "@material-ui/icons/Check"
13
import UndoIcon from "@material-ui/icons/Undo"
14
import Select from "react-select"
15
+import CreatableSelect from "react-select/creatable"
16
+
17
import { asMutable } from "seamless-immutable"
18
19
const useStyles = makeStyles(styles)
@@ -100,7 +102,7 @@ export const RegionLabel = ({
100
102
</div>
101
103
{(allowedClasses || []).length > 0 && (
104
<div style={{ marginTop: 6 }}>
- <Select
105
+ <CreatableSelect
106
placeholder="Classification"
107
onChange={(o) =>
108
onChange({
0 commit comments