Vuetify Version: 2.2.19
Vue Version: 2.6.11
Browsers: Chrome 80.0.3987.149
OS: Windows 10
Click on v-text-field input, time picker is activated.
Click on icon in v-text-field, time picker is not activated.
Time picker is activated when icon is clicked in text field
Time picker is not activated
Technically it's duplicate of https://github.com/vuetifyjs/vuetify/issues/8141, however i'm leaning to a version that if no click:prepend/click:append listener is defined then clicking on the icon should run the click listener
@vuetifyjs/core-team ?
@jacekkarczmarczyk could you please tell me how can I add click listener on prepend/append icon if my v-text-field is inside slot template? Eg:
<template v-slot:activator="{ on }">
<!-- add @click handler on prepend-icon -->
<v-text-field
v-model="date"
label="Picker in menu"
prepend-icon="event"
readonly
v-on="on"
></v-text-field>
</template>
I create the example based on docs so you can see it here:
https://codepen.io/milost1982/pen/YzXbvyx?editors=1010
@click:prepend="on.click"
Most helpful comment
@click:prepend="on.click"