https://github.com/kyh196201/vee-validate-playground
https://github.com/kyh196201/vee-validate-playground
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/kyh196201/vee-validate-playground
- Owner: kyh196201
- Created: 2024-06-05T08:28:04.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-07-30T04:41:46.000Z (12 months ago)
- Last Synced: 2025-01-28T23:26:31.957Z (6 months ago)
- Language: Vue
- Size: 24.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Vee-validate4 playground
vee-validate4 `useForm`, `useField`, `useFieldArray`를 사용해서 간단한 회원 그룹 등록 폼을 만드는 예제 프로젝트입니다.
## Install & Development
```bash
npm inpm run dev
```## Features
- yup 스키마를 이용해서 useFieldArray 검증하고, 검증 결과에 따라 에러 메시지를 노출
- useFieldArray의 추가, 삭제 기능
- useFieldArray 아이템 삭제 시 `useForm` `errors` 객체 업데이트
- blur 이벤트가 발생할 때만 입력한 값을 검증