Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -133,7 +133,7 @@ INPUT_FIELD_DEFAULT_VALUES = {'slider': 0,
|
|
133 |
'text': None,
|
134 |
'textarea': None,
|
135 |
'checkbox': False,
|
136 |
-
'radio':
|
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"
|
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':
|