File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed
form_bloc/lib/src/blocs/field Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,11 @@ dependencies:
1515 bloc : ^8.0.3
1616# flutter_bloc: ^8.0.1
1717 form_bloc :
18- path : ../form_bloc
18+ # path: ../form_bloc
19+ git :
20+ url : https://github.com/BreX900/form_bloc.git
21+ path : ./packages/form_bloc
22+ ref : next
1923# form_bloc: ^0.30.0
2024 equatable : ^2.0.3
2125 rxdart : ^0.27.3
Original file line number Diff line number Diff line change @@ -320,9 +320,9 @@ abstract class SingleFieldBloc<
320320 // because it emit a completed async validation
321321 if (fieldBlocs.isNotEmpty) {
322322 _revalidateFieldBlocsSubscription = Rx .merge <void >(fieldBlocs.map ((e) {
323- return e.stream. map < void >((event) {
324- event. value;
325- }) .distinct (DeepCollectionEquality ().equals);
323+ return e.stream
324+ . map < dynamic >((state) => state. value)
325+ .distinct (DeepCollectionEquality ().equals);
326326 })).listen ((_) {
327327 if (_autoValidate) {
328328 _validate ();
You can’t perform that action at this time.
0 commit comments