Sample project of two Vue 3 components, FormGroup and FormInput, that provide configurable validation.
Written in TypeScript using the Vue 3's Composition API. FormInputs with a validation error will display errors and the FormGroup's submit event will be suppressed. If a validation error occurs, the focus will move to the first FormInput with an error.
Based on Anthony Gore's article with ideas from Vue Formulate's FormulateForm.
yarn install
yarn serve
yarn build
yarn lint