Closed A-kirami closed 6 months ago
@A-kirami Hi
in Dialogs it's better to use the vee-validate Form
component
https://stackblitz.com/edit/vitejs-vite-4h9oqf
If you want to use useForm
composable instead, you need to create a custom hard-coded form component based on your form fields
@A-kirami Hi
in Dialogs it's better to use the vee-validate
Form
component
Thank you for the prompt response and solution!
I would like to suggest adding documentation about this issue and its resolution to the project's documentation. It would be helpful for users who might encounter similar issues in the future.
@A-kirami Hi
in Dialogs it's better to use the vee-validate
Form
componentstackblitz.com/edit/vitejs-vite-4h9oqf
If you want to use
useForm
composable instead, you need to create a custom hard-coded form component based on your form fields
Sorry, I'm not quite sure what a custom hard-coded form component is. Could you provide documentation or a demo? Thanks!
@A-kirami Sure will update stackblitz
@A-kirami stackblitz.com/edit/vitejs-vite-b87ysk
Thank you for providing the demo! This resolves the issue for me.
Reproduction
https://stackblitz.com/edit/vitejs-vite-kztmwi?file=src%2FApp.vue
Describe the bug
Description
Default values are not displaying in forms within the dialog component after the first opening.
Steps to reproduce
Expected behavior
The default values within the form should remain visible upon subsequent openings of the dialog.
System Info
Contributes