darrenfang/vuetify-datetime-picker

Uncaught RangeError: Maximum call stack size exceeded

Opened this issue · 1 comments

Hello,

I am using the DateTime Picker, I have included it as follows:

<v-datetime-picker
                                      label="Ende"
                                      date-format="dd.MM.yyyy"
                                      time-format="HH:mm"
                                      v-model="editItem.Ende"
                                      :text-field-props="textFieldProps"
                                      :time-picker-props="timePickerProps"
                                      :date-picker-props="datePickerProps"
                                  >
                                    <template slot="dateIcon">
                                      <v-icon>mdi-calendar</v-icon>
                                    </template>
                                    <template slot="timeIcon">
                                      <v-icon>mdi-clock-outline</v-icon>
                                    </template>
 </v-datetime-picker>

        datePickerProps: {},
        timePickerProps: {
            format: "24hr"
        }

I get the following error:

VDialog.ts?d213:245 Uncaught RangeError: Maximum call stack size exceeded

I have integrated the DateTimePicker 2 times.

once on a Vue itself and then inside a modal window, on the modal window I get the error.

Thanks for help

Matthias

:retain-focus="false" solved the issue for me.

  <v-datetime-picker
      v-model="item.starts_at"
      :retain-focus="false"
  ></v-datetime-picker>