-
-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Labels
bugSomething isn't workingSomething isn't working
Description
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: const <Widget>[
Icon(Icons.attachment),
Gap(8),
Text('Pilih Berkas'),
],
),
)
],
onFileLoading: (val) {
debugPrint(val.toString());
},
onSaved: (newValue) {},
// customFileViewerBuilder: customFileViewerBuilder,
);
}
Description
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
jforms.mp4
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Type
Projects
Status
Backlog