-
Notifications
You must be signed in to change notification settings - Fork 3
/
formControl.jsx
55 lines (53 loc) · 2.29 KB
/
formControl.jsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<FormControl sx={{ m: 1, minWidth: 420, }}>
<InputLabel
id="demo-controlled-open-select-label"
style={{
marginTop: '-1rem',
marginLeft: '2.7rem',
}}
>
Select Language
</InputLabel>
<Select
labelId="demo-controlled-open-select-label"
id="demo-controlled-open-select"
//onClose={handleClose}
//onOpen={handleOpen}
//value={botLanguage}
label="Topic Flow"
style={{
width: '38.75rem',
height: '2.5rem',
marginTop: '-0.3rem',
marginLeft: '1.8rem',
}}
onChange={(e) => {
setShowCheckBox(false);
}}
>
<MenuItem value="English">
{
showCheckBox ?
(
<Checkbox color="primary">
{/* */}
</Checkbox>
) :
null
}
English
</MenuItem>
<MenuItem value="Arabic">
{
showCheckBox ?
(
<Checkbox color="primary">
{/* */}
</Checkbox>
) :
null
}
Arabic
</MenuItem>
</Select>
</FormControl>