form_bloc 0.5.2 form_bloc: ^0.5.2 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.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.