We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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
The text was updated successfully, but these errors were encountered:
8ed8731
KaelWD
Successfully merging a pull request may close this issue.
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.The text was updated successfully, but these errors were encountered: