Skip to content

Commit 572c1a3

Browse files
committed
Set readOnly to false in DateTimePIcker textfield - prevents keyboard trying to pop up. Closes #210
1 parent a2f820b commit 572c1a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/fields/form_builder_date_time_picker.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ class _FormBuilderDateTimePickerState extends State<FormBuilderDateTimePicker> {
291291
maxLength: widget.maxLength,
292292
autofocus: widget.autofocus,
293293
decoration: widget.decoration,
294-
readOnly: _readOnly,
294+
readOnly: true,
295295
enabled: _readOnly ? false : widget.enabled,
296296
autocorrect: widget.autocorrect,
297297
controller: _textFieldController,

0 commit comments

Comments
 (0)