stx_form_bloc 2.0.2
stx_form_bloc: ^2.0.2 copied to clipboard
Easy Form State Management using BLoC pattern. Separate the Form State and Business Logic from the User Interface.
2.0.2 #
- Added "forceValueToSet" property in SelectFieldBloc and MultiSelectFieldBloc.
2.0.1 #
- Added clearRules and clearValidators method
- Revert deletion valueToInt and valueToDouble in TextFieldBloc
- Fixed cancellation
2.0.0 #
- Deleted emitLoading() in the submit method.
- Renamed "items" to "options" in SelectFieldBloc and MultiSelectFieldBloc.
- Added options getter to SelectFieldBloc and MultiSelectFieldBloc.
- Don't set value which isn't from the options.
- Added some getters to FormBloc.
- Added changeRequirement method.
- Changed type of the validators and rules properties to Set (instead of List).
- Add some useful method to FormBloc (addValidator, changeData, etc).
- Added DateFormat to DateTimeFieldBloc.
- Added toNullableString method to FormBloc.
- Changed TextFieldBloc initial value to "null".
- Fixed boolean validator.
- Added a couple of tests.
1.0.10+1 #
- Fixed "copyWith" method in ImageFieldBloc.
1.0.10 #
- Added ImageFieldBloc.
- Override "toString" method.
1.0.9+1 #
- Added "data" getter to FieldBloc.
1.0.9 #
- Added "data" field to FieldBlocState.
1.0.8+1 #
- Increased dart version.
1.0.8 #
- Fixed replaceWhere in ListFieldBloc.
1.0.7 #
- Fixed 'value' setter in ListFieldBloc.
- Added replaceAllWhere to ListFieldBloc.
1.0.6 #
- Fixed ListFieldBloc.
- Added 'value' setter to ListFieldBloc.
- Removed status listener in FormBloc (use GroupField instead).
- Minor improvements in FormBloc.
- Updated dependencies.
1.0.5 #
- Changed NumberFieldBloc's value type to int.
1.0.4 #
- Added NumberFieldBloc.
- Changed initialValue in BooleanFieldBloc to null.
1.0.3 #
- Added isRequired property to fieldBloc state.
1.0.2 #
- Added enabled and required properties.
1.0.1 #
- Updated dependencies.
1.0.0 #
- Initial version.