diff --git a/locales/default.pot b/locales/default.pot index a90838d04..9199b4de5 100644 --- a/locales/default.pot +++ b/locales/default.pot @@ -1886,6 +1886,30 @@ msgstr "" msgid "Create new for" msgstr "" +msgid "Add multiple date ranges" +msgstr "" + +msgid "Day" +msgstr "" + +msgid "Month" +msgstr "" + +msgid "Repeat times" +msgstr "" + +msgid "Repeat type" +msgstr "" + +msgid "Required" +msgstr "" + +msgid "Year" +msgstr "" + +msgid "Add multiple" +msgstr "" + msgid "Insert date(s)" msgstr "" diff --git a/locales/en_US/default.po b/locales/en_US/default.po index 00dadeb67..4fea704f5 100644 --- a/locales/en_US/default.po +++ b/locales/en_US/default.po @@ -1889,6 +1889,30 @@ msgstr "" msgid "Create new for" msgstr "" +msgid "Add multiple date ranges" +msgstr "" + +msgid "Day" +msgstr "" + +msgid "Month" +msgstr "" + +msgid "Repeat times" +msgstr "" + +msgid "Repeat type" +msgstr "" + +msgid "Required" +msgstr "" + +msgid "Year" +msgstr "" + +msgid "Add multiple" +msgstr "" + msgid "Insert date(s)" msgstr "" diff --git a/locales/it_IT/default.po b/locales/it_IT/default.po index 01df7a0ef..9ab7d401b 100644 --- a/locales/it_IT/default.po +++ b/locales/it_IT/default.po @@ -1914,6 +1914,30 @@ msgstr "Selezionare un tipo" msgid "Create new for" msgstr "Crea nuovo per" +msgid "Add multiple date ranges" +msgstr "Aggiungi intervalli multipli di date" + +msgid "Day" +msgstr "Giorno" + +msgid "Month" +msgstr "Mese" + +msgid "Repeat times" +msgstr "Numero di ripetizioni" + +msgid "Repeat type" +msgstr "Tipo di ripetizione" + +msgid "Required" +msgstr "Obbligatorio" + +msgid "Year" +msgstr "Anno" + +msgid "Add multiple" +msgstr "Aggiungi multiplo" + msgid "Insert date(s)" msgstr "Inserire data(e)" diff --git a/resources/js/app/components/date-input.js b/resources/js/app/components/date-input.js index da5635d1f..32280b05e 100644 --- a/resources/js/app/components/date-input.js +++ b/resources/js/app/components/date-input.js @@ -45,7 +45,7 @@ export default { }, watch: { attrs: function(val) { - if (val.time != this.instance.config.enableTime) { + if (val?.['data-min-date'] || val.time != this.instance.config.enableTime) { // flatpickr doesn't allow dynamic config change. we must destroy and re-create it. /// see https://github.com/flatpickr/flatpickr/issues/1546 const date = this.instance.latestSelectedDateObj; diff --git a/resources/js/app/components/date-range/date-range.vue b/resources/js/app/components/date-range/date-range.vue index c61fff9d8..d950dddcb 100644 --- a/resources/js/app/components/date-range/date-range.vue +++ b/resources/js/app/components/date-range/date-range.vue @@ -21,23 +21,24 @@
{{ msgTo }}
-