Skip to content

Commit

Permalink
Fixed bug where readOnly not working in FormBuilderDateTimePicker. Cl…
Browse files Browse the repository at this point in the history
…oses #179
  • Loading branch information
danvick committed Dec 1, 2019
1 parent 4410c73 commit 1cfcfa6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/src/fields/form_builder_date_time_picker.dart
Original file line number Diff line number Diff line change
Expand Up @@ -290,9 +290,9 @@ class _FormBuilderDateTimePickerState extends State<FormBuilderDateTimePicker> {
maxLength: widget.maxLength,
autofocus: widget.autofocus,
decoration: widget.decoration,
enabled: widget.enabled,
autocorrect: widget.autocorrect,
readOnly: _readOnly,
enabled: _readOnly ? false : widget.enabled,
autocorrect: widget.autocorrect,
controller: _textFieldController,
focusNode: _focusNode,
inputFormatters: widget.inputFormatters,
Expand Down

0 comments on commit 1cfcfa6

Please sign in to comment.