Closed daniser closed 5 days ago
Ability to check if underlying model have changed or not. For example, to hide action buttons:
<template> <v-confirm-edit v-model="model"> <template #default="{ model: proxyModel, actions, isPristine }"> <v-card> <v-card-text> <v-text-field v-model="proxyModel.value" /> </v-card-text> <v-card-actions> <component v-if="!isPristine" :is="actions" /> </v-card-actions> </v-card> </template> </v-confirm-edit> </template>
Expose isPristine variable from component.
isPristine
Problem to solve
Ability to check if underlying model have changed or not. For example, to hide action buttons:
Proposed solution
Expose
isPristine
variable from component.