You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm seem to be having an issue using a DropDownButtonFormField within a step. I just have some simple strings as options, and I have an onChange and an initial value that matches one of the items in the list.
The first time I click on the drop down nothing happens. The second time renders the list.
Clicking seems to cause the parent easy_stepper to rebuild. None of the other controls I have show this behaviour (mainly textformfields, but also a custom drop down (different use case)).
I moved the dropdown outside the step on another page and it behaves as I would expect.
I wondered if anyone else had seen this problem, or was using this control successfully within a step?
Quite happy for someone to tell me I'm being an idiot. Below is a cutdown version of the widget that is included as an EasyStep that shows this behaviour.
I'm seem to be having an issue using a DropDownButtonFormField within a step. I just have some simple strings as options, and I have an onChange and an initial value that matches one of the items in the list.
The first time I click on the drop down nothing happens. The second time renders the list.
Clicking seems to cause the parent easy_stepper to rebuild. None of the other controls I have show this behaviour (mainly textformfields, but also a custom drop down (different use case)).
I moved the dropdown outside the step on another page and it behaves as I would expect.
I wondered if anyone else had seen this problem, or was using this control successfully within a step?
Quite happy for someone to tell me I'm being an idiot. Below is a cutdown version of the widget that is included as an EasyStep that shows this behaviour.
The text was updated successfully, but these errors were encountered: