File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed
Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -22,23 +22,24 @@ For questions and support please use [the GitHub repo](https://github.com/Jenesi
2222
2323## Quick Example
2424
25- ![ Alt Text] ( ./gif -example.gif )
25+ ![ Alt Text] ( ./readme -example.gif )
2626
2727## Usage
2828This example demonstrates a simple use of this library using the login form as an example.
2929
3030``` vue
3131<template>
32- <form-field name = "login"/>
33- <form-field name = "password" type = "password"/>
34- <button @click = "handleLogin">Login</button>
32+ <form-field name = "login"/>
33+ <form-field name = "password" type = "password"/>
34+ <button @click = "handleLogin">Login</button>
3535</template>
36+
3637<script setup>
3738import {FormField, Form} from "jenesius-vue-form";
3839
3940const form = new Form();
4041function handleLogin() {
41- console.log(form.values) // { login: "", password: "" }
42+ console.log(form.values) // { login: "", password: "" }
4243}
4344</script>
4445```
File renamed without changes.
You can’t perform that action at this time.
0 commit comments