emvecchi commited on
Commit
3a4b7bd
1 Parent(s): 065e551

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -332,7 +332,7 @@ def show_field(f: Field, index: int, data_collected):
332
  options = choices,
333
  format_func=lambda x: x,
334
  key=key, max_selections=3,
335
- value=value, help=f.help)
336
  case 'likert_radio':
337
  labels = default_labels if not f.other_params.get('labels') else f.other_params.get('labels')
338
  st.radio(f.title,
 
332
  options = choices,
333
  format_func=lambda x: x,
334
  key=key, max_selections=3,
335
+ index=value, help=f.help)
336
  case 'likert_radio':
337
  labels = default_labels if not f.other_params.get('labels') else f.other_params.get('labels')
338
  st.radio(f.title,