emvecchi commited on
Commit
eb4a746
1 Parent(s): d4bec53

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -133,7 +133,7 @@ INPUT_FIELD_DEFAULT_VALUES = {'slider': 0,
133
  'text': None,
134
  'textarea': None,
135
  'checkbox': False,
136
- 'radio': "not selected",
137
  'select_slider': 0,
138
  'multiselect': None}
139
  SHOW_HELP_ICON = False
@@ -215,7 +215,7 @@ def show_field(f: Field, index: int, data_collected):
215
  value=value, help=f.help)
216
  case 'radio':
217
  st.session_state.data_inputs[f.name] = st.radio(f.title,
218
- ["yes","no","other","not selected"],
219
  key=key,
220
  help=f.help)
221
  case 'slider':
 
133
  'text': None,
134
  'textarea': None,
135
  'checkbox': False,
136
+ 'radio': False,
137
  'select_slider': 0,
138
  'multiselect': None}
139
  SHOW_HELP_ICON = False
 
215
  value=value, help=f.help)
216
  case 'radio':
217
  st.session_state.data_inputs[f.name] = st.radio(f.title,
218
+ ["not selected","yes","no","other"],
219
  key=key,
220
  help=f.help)
221
  case 'slider':