Hi, there,
My trouble is the component of the Radio Button not being recognized as part of the form and I am unable to reset the Radio Button.
Let me use the following test case to demonstrate the problem.
It is a List View of Radio Button. Per FlutterFlow. In order to make the Radio Button work properly within List View, we need to convert it to a component as shown below.
Each radio button is just 3 or 4 options for the user to choose.
There is a submit button to POST the data, and it also would like to stay on this page and reset all the form fields. (Let's put aside whether this user scenario is correct or not. Let's stay on this user scenario to illustrate the problem of form field resetting).
When I add an Action of "Reset Form Fields" as shown at the bottom of the screenshot, it is disabled with the message "There are no valid form fields on this page."
NOTE 1: If I move the Radio Button directly within the Form and is not a component, it then can be recognized.
NOTE 2: According to the documentation at https://docs.flutterflow.io/actions/actions/state-management/reset-form-fields, there is a statement from FlutterFlow saying "You can also reset form fields that are inside the components.", that does not seem to be true.
(Q) So my question is, how can I reset the Radio Button in this case? Also, does this seem to be a limitation of FlutterFlow? If I need to use some Custom Action, or Custom Widget, please share with me the pseudo-code or high-level direction and I will continue looking into this.
Appreciate very much for your help.