I have a filter that uses a date picker component, when I reload the page or refresh my table, the filter defaults always to the same date, and the filter is applied with that date. How can I make the date default to blank? I already set the value to "null" but it doesn´t work.
<v-menu
v-if="f.type === 'datepicker' && index < 6 * k && index >= 6 * (k - 1)"
v-model="f.menu"
:close-on-content-click="false"
transition="scale-transition"
offset-y
min-width="auto"
>
<template v-slot:activator="{ on, attrs }">
<v-text-field
v-model="f.value"
:label="f.label"
readonly
clearable
dense
v-bind="attrs"
:rules="f.rule"
outlined
:required="f.required"
class="mx-3"
v-on="on"
/>
</template>
<v-date-picker
v-model="f.value"
color="primary"
no-title
:range="f.range"
scrollable
>
<v-spacer />
<v-btn text color="primary" @click="f.menu = false"> Okey </v-btn>
</v-date-picker>
</v-menu>
in data I have this field filter control
fieldsFilterControl: [
{
type: "datepicker",
label: "RANGO DE FECHAS",
value: null,
range: true,
menu: false,
}
],
Always return the same date when reload