Skip to content
New issue

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

docs(Editable): add Change only on submit example #1538

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

hrynevychroman
Copy link
Contributor

I have faced some issues with understanding how to make a field editable and not change v-model when editing and found this example in the Histoire files of the project, I think that this would be useful for others 😉

<template>
<template>
<EditableRoot
:default-value="defaultValue"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how about using :model-value instead of default-value? 🤔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants