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 am using Bloc. Whenever I fire an event on the onChange callback that will eventually update the app's state, the value changes in the background, but the spinner keeps showing an old value.
I am using Bloc. Whenever I fire an event on the onChange callback that will eventually update the app's state, the value changes in the background, but the spinner keeps showing an old value.
Below is how I implemented the spinner
GSField.spinner( errorMessage: 'Please make a selection', hint: 'Vehicle Make', tag: 'make_id', required: true, weight: 6, title: 'Vehicle Make', items: makeSpinnerDataItems, value: make, onChange: (value) { make = value!; context.read<ManageVehiclesBloc>().add(LoadVehicleModelLookups(value.id)); }, ),
Please assist.
The text was updated successfully, but these errors were encountered: