emvecchi commited on
Commit
dc52e0d
1 Parent(s): c0dc401

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -329,8 +329,8 @@ def show_field(f: Field, index: int, data_collected):
329
  case 'multiselect':
330
  choices = default_choices if not f.other_params.get('choices') else f.other_params.get('choices')
331
  st.multiselect(f.title,
332
- options = list(range(len(choices))),
333
- format_func=lambda x: choices[x],
334
  key=key, max_selections=3,
335
  help=f.help)
336
  case 'likert_radio':
 
329
  case 'multiselect':
330
  choices = default_choices if not f.other_params.get('choices') else f.other_params.get('choices')
331
  st.multiselect(f.title,
332
+ options = choices,
333
+ format_func=lambda x: x,
334
  key=key, max_selections=3,
335
  help=f.help)
336
  case 'likert_radio':