Open yudomaryanto opened 1 year ago
@yudomaryanto please fill all info in the template (flutter doctor, minimal code sample and package version) Thanks
@yudomaryanto please fill all info in the template (flutter doctor, minimal code sample and package version) Thanks
done update, thanks
Hi @yudomaryanto This happens with other fields of FlutterFormBuilder package? I don't sure if this is related to the field our to your state management implementation
I have same issue , it only occurs with this field
Environment
Package version:
form_builder_file_picker: ^2.3.0
Flutter doctor
- Doctor summary (to see all details, run flutter doctor -v): - [✓] Flutter (Channel stable, 3.7.0, on macOS 13.2 22D49 darwin-arm64, locale en-ID) - [✓] Android toolchain - develop for Android devices (Android SDK version 33.0.1) - [✓] Xcode - develop for iOS and macOS (Xcode 14.2) - [✓] Chrome - develop for the web - [✓] Android Studio (version 2022.1) - [✓] VS Code (version 1.75.0) - [✓] Connected device (3 available) - [✓] HTTP Host Availability ``` ```Code sample
``` if (type == 'filepicker') { return FormBuilderFilePicker( name: 'filepicker_datum$page', validator: FormBuilderValidators.required(errorText: 'Jawaban wajib diisi!'), decoration: const InputDecoration(labelText: 'Attachments'), maxFiles: 1, previewImages: true, onChanged: (val) {}, typeSelectors: [ TypeSelector( type: FileType.any, selector: Row( children: constDescription
i am using pageview, when finished fetching files, the list of files that have been fetxhed is reset to null.
Expected behavior: file lists persists
Current behavior: files reset
Video
https://user-images.githubusercontent.com/111847308/218387741-ac248f22-27d7-434b-8350-d2bc41b6a46b.mp4