Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -155,14 +155,14 @@ fields: List[Field] = [
|
|
155 |
Field(type="container", title="**Moderation Function**", children=[
|
156 |
Field(name="mod_function", type="multiselect",
|
157 |
title="What type of moderation function is needed here? *(Multiple selection possible)*",
|
158 |
-
mandatory=True),
|
159 |
-
Field(name="mod_function_other", type="text", title="*If Other, please specify:*"
|
160 |
]),
|
161 |
|
162 |
Field(type="container", title="**Contributing properties**", children=[
|
163 |
Field(name="relevant_properties", type="multiselect",
|
164 |
title="Which property(s) is most impactful in your assessment? *(Multiple selection possible)*",
|
165 |
-
other_params={'choices': property_choices}, mandatory=True
|
166 |
Field(name="relevant_properties_other", type="text", title="*If Other, please specify:*"),
|
167 |
]),
|
168 |
|
|
|
155 |
Field(type="container", title="**Moderation Function**", children=[
|
156 |
Field(name="mod_function", type="multiselect",
|
157 |
title="What type of moderation function is needed here? *(Multiple selection possible)*",
|
158 |
+
mandatory=True, following_mandatory_values=[-1]),
|
159 |
+
Field(name="mod_function_other", type="text", title="*If Other, please specify:*"),
|
160 |
]),
|
161 |
|
162 |
Field(type="container", title="**Contributing properties**", children=[
|
163 |
Field(name="relevant_properties", type="multiselect",
|
164 |
title="Which property(s) is most impactful in your assessment? *(Multiple selection possible)*",
|
165 |
+
other_params={'choices': property_choices}, mandatory=True),
|
166 |
Field(name="relevant_properties_other", type="text", title="*If Other, please specify:*"),
|
167 |
]),
|
168 |
|