Open hamzaazhar-sendoso opened 3 months ago
I am calling FlatPickr as follows:
<FlatPickr
:id="id"
ref="flatPicker"
v-model="inputValue"
:name="name"
type="date"
:class="classes.input"
:aria-label="labelText"
:placeholder="placeholder"
:aria-describedby="ariaDescribedBy"
:aria-errormessage="ariaErrorMessage"
:disabled="disabled"
:config="config"
@update:modelValue="onInput"
@blur="onBlur"
/>
I'm submitting a ... (check one with "x")
Tell about your platform
Current behavior
When try to test the component with date fields, I am getting this error:
Cannot read properties of undefined (reading 'calendarContainer')
Also in the console I am seeing this warning:I believe it's maybe due to this warning
Expected behavior
Tests should pass as expected
Minimal reproduction of the problem with instructions I tried with the sample vue component:
When I run the test, it ends up saying:
Cannot read properties of undefined (reading 'calendarContainer')