Do not focus text field when using date picker

Fixes #385
This commit is contained in:
Christopher C. Wells 2022-02-26 06:14:40 -08:00
parent a1473bce77
commit e7862801b1
7 changed files with 4 additions and 1 deletions

View File

@ -29,6 +29,7 @@ BabyBuddy.DatetimePicker = function ($, moment) {
var defaultOptions = {
buttons: { showToday: true, showClose: true },
defaultDate: 'now',
focusOnShow: false,
format: 'L LT',
ignoreReadonly: true,
locale: moment.locale(),

Binary file not shown.

View File

@ -29,6 +29,7 @@ BabyBuddy.DatetimePicker = function ($, moment) {
var defaultOptions = {
buttons: { showToday: true, showClose: true },
defaultDate: 'now',
focusOnShow: false,
format: 'L LT',
ignoreReadonly: true,
locale: moment.locale(),

BIN
static/babybuddy/js/app.e8f1f5e0f058.js.gz generated Normal file

Binary file not shown.

View File

@ -29,6 +29,7 @@ BabyBuddy.DatetimePicker = function ($, moment) {
var defaultOptions = {
buttons: { showToday: true, showClose: true },
defaultDate: 'now',
focusOnShow: false,
format: 'L LT',
ignoreReadonly: true,
locale: moment.locale(),

Binary file not shown.

File diff suppressed because one or more lines are too long