form_bloc icon indicating copy to clipboard operation
form_bloc copied to clipboard

🔥 Dart and Flutter Package 🔥 Easy Form State Management using BLoC pattern 🔥 Wizard/stepper forms, asynchronous validation, dynamic and conditional fields, submission progress, serialization and mo...

Results 113 form_bloc issues
Sort by recently updated
recently updated
newest added

How can I detect that form is pristine that means the form values are the same as the initial values I want to disable edit button when form is pristine

I created an issue on SO and some of the code shown there. https://stackoverflow.com/questions/65191728/flutter-form-state-stuck-in-formblocsuccess-using-flutter-form-bloc The Bloc is created with MultiBlocProvider and persists for the life of the app. After submitting...

When `state is FormBlocLoading` all FieldBlocBuilder like `TextFieldBlocBuilder` is hidden , How can I show them?

When retrieving a `FormBloc`, which one should I use? `read()` **won't** rebuild the widget on state changes (equivalent to `Provider.of(context, listen: false)` I guess) and **shouldn't** be called in the...

The built-in obscure property not working in TexfieldBlocBuilder, text is only obscured when i use suffix icon obscure which i might not need in all cases.

Hello, I wonder if it possible to autofill fields when selecting item from DropdownField? For example I have list of owners and when i select one of them, fields :...

Due to this code ``` initialTime: widget.type == DateTimeFieldBlocBuilderBaseType.time ? widget.dateTimeFieldBloc.state.value ?? widget.initialTime : widget.dateTimeFieldBloc.state.value == null ? TimeOfDay.fromDateTime( widget.dateTimeFieldBloc.state.value ?? DateTime.now(), ) : widget.initialTime, ``` In case if there...

We should be allowed to insert field blocs in certain positions in the list because `addFieldBloc` just appends it to the existing list. I'm not sure if `ListFieldBloc#value` is immutable...

I'm wanting to create a shared framework for our projects with flutter. We have 3 basic screens that I'm trying to not duplicate code for: 1. Forms (covered by form_bloc)...

I am using `formBloc.myField.onValueChanges` to listen changes and on `dispose` I call `formBloc.close()` Is it require to `cancel` all `onValueChanges` on `dispose` or it's automatically handled?