Skip to content

Commit 8f11f4f

Browse files
authored
Merge pull request #27 from grundid/master
fix issue with not using decoration from state and not showing validation error
2 parents 393d140 + 8f5bd1d commit 8f11f4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/form_builder_file_picker.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ class FormBuilderFilePicker extends FormBuilderField<List<PlatformFile>> {
105105
final state = field as _FormBuilderFilePickerState;
106106

107107
return InputDecorator(
108-
decoration: decoration,
108+
decoration: state.decoration,
109109
child: Column(
110110
children: <Widget>[
111111
Row(

0 commit comments

Comments
 (0)