form_bloc 0.7.0 form_bloc: ^0.7.0 copied to clipboard
Easy Form State Management using BLoC pattern. Separate the Form State and Business Logic from the User Interface. Async Validation, Progress, Failures, Successes, and more.
0.7.0 #
- Updated to
bloc: ^3.0.0
0.6.0 #
- Updated to
bloc: ^1.0.0
bloc.state.listen
->bloc.listen
bloc.currentState
->bloc.state
dispatch
->add
dispose
->close
- Documentation Updates.
Validators
->FieldBlocValidators
ValidatorsError
->FieldBlocValidatorsErrors
- Removed
isRequired
property fromFieldBloc
andFieldBlocState
.
0.5.2 #
- Documentation Updates.
- Fixed a bug in
isValid
property offieldBlocState
. - Prevented to update
FieldBloc.value
if is the same value and is validated. - Improved
requiredTextFieldBloc
validator.
0.5.1 #
- Fixed a bug in
MultiSelectFieldBloc
.
0.5.0 #
- Dependency and Documentation Updates.
- Added
isValidating
property toFieldBlocState
. - Added
asyncValidators
property toFieldBloc
. - Added
asyncValidatorDebounceTime
property toFieldBloc
. - Added
addAsyncValidators
method toFieldBloc
. - Added
updateAsyncValidators
method toFieldBloc
. - Added
addError
method toFieldBloc
. - Added
subscribeToFieldBlocs
method toFieldBloc
.
0.4.1 #
- Documentation Updates.
0.4.0 #
- Documentation Updates.
- Added Tests.
- Added
autoValidate
property toFormBloc
. - Added
InputFieldBloc<Value>
. - Removed
FileFieldBloc
, now you can useInputFieldBloc<File>
. - Added
MultiSelectFieldBloc<Value>
. - Added
error
property toFieldBlocState
. - Added
canShowError
property toFieldBlocState
. - Added
canShowProgress
property toFieldBlocState
. - Added
suggestions
property toFieldBlocState
. - Added
isRequired
property toFieldBlocState
. - Changes
TextFieldBloc<Error>
toTextFieldBloc
. - Added
valueToInt
property toTextFieldBlocState
. - Added
valueToDouble
property toTextFieldBlocState
. - Added
FormBlocDelegate
.
0.3.1 #
- Added
isCanceling
property toFormBlocSubmitting
.
0.3.0 #
- Dependency and Documentation Updates.
- Added
submissionProgress
property toFormBlocState
. - Added
canSubmit
property toFormBlocState
. - Added
FormBlocSubmissionFailed
state toFormBloc
. - Added
FormBlocSubmissionCancelled
state toFormBloc
. - Added
cancelSubmission
event toFormBloc
. - Added
updateState
event toFormBloc
. - Added
onCancelSubmission
method toFormBloc
. - Added
FileFieldBloc
.
0.2.0 #
- Documentation Updates
0.1.0 #
- Initial Version of the library.