Skip to content

Commit 778271a

Browse files
Fix for #874 (#889)
1 parent ea6b0fb commit 778271a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/fields/form_builder_text_field.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@ class _FormBuilderTextFieldState
465465
super.didChange(value);
466466

467467
if (_effectiveController!.text != value) {
468-
_effectiveController!.text = value!;
468+
_effectiveController!.text = value ?? '';
469469
}
470470
}
471471

0 commit comments

Comments
 (0)