I want to display the calendar by pressing the icon button(append-icon). What's missing from the code below?
<v-menu
v-model="menu"
:close-on-content-click="false"
transition="slide-y-transition"
offset-y
>
<template v-slot:activator="{ on }">
<v-text-field
v-on="on"
v-model="test.data"
@click.append="on" <!--I want like this-->
:append-icon="'mdi-map-marker-off'">
</v-text-field>
</template>
<v-date-picker
v-on:dateChanged="getDate"
v-model="calendar">
</v-date-picker>
</v-menu>