sukiboo commited on
Commit
eb48ce4
Β·
1 Parent(s): 956781b

deactivate dropdown

Browse files
Files changed (2) hide show
  1. app.ipynb +1 -1
  2. src/style_elements.py +3 -1
app.ipynb CHANGED
@@ -33,7 +33,7 @@
33
  " "
34
  ],
35
  "text/plain": [
36
- "<IPython.lib.display.IFrame at 0x127284f80>"
37
  ]
38
  },
39
  "metadata": {},
 
33
  " "
34
  ],
35
  "text/plain": [
36
+ "<IPython.lib.display.IFrame at 0x11d8fcda0>"
37
  ]
38
  },
39
  "metadata": {},
src/style_elements.py CHANGED
@@ -17,6 +17,8 @@ def setup_ticker_selection(initial_tickers):
17
  value=initial_tickers,
18
  multi=True,
19
  placeholder="No tickers selected...",
 
 
20
  style={
21
  "flex": "3",
22
  "fontFamily": "'Courier New', Courier, monospace",
@@ -38,7 +40,7 @@ def setup_ticker_selection(initial_tickers):
38
  n_submit=0,
39
  ),
40
  ],
41
- style={"display": "flex", "gap": "10px", "marginTop": "10px", "marginBottom": "10px"},
42
  )
43
  return ticker_selection
44
 
 
17
  value=initial_tickers,
18
  multi=True,
19
  placeholder="No tickers selected...",
20
+ searchable=False,
21
+ clearable=False,
22
  style={
23
  "flex": "3",
24
  "fontFamily": "'Courier New', Courier, monospace",
 
40
  n_submit=0,
41
  ),
42
  ],
43
+ style={"display": "flex", "gap": "10px", "marginBottom": "10px"},
44
  )
45
  return ticker_selection
46