Open
Description
Hi,
I have a select dropdown that must be populated on the selection of another dropdown. I use FormFieldSelect, how to detect the change of value and populate the other dropdown accordingly?
c.Form(form_fields=[
FormFieldSelect(
name=f"Component",
title="Component",
options=str_list_to_select_options_list('component', Component.fetch_values()),
required=True
),
FormFieldSelect(
name=f"SubComponent",
title="SubComponent",
options=list_of_subcomponents(selected_component),
required=True
),
],
method="GET",
submit_url="."
),
How should we populate a text area, at the bottom of the page (but is not part of the form) with the results of the Submit call?
Thanks and regards,
Paddy