Skip to content
项目

关于

Vue form components with server-side validation in mind

网站与应用开发

这些数字如何统计

可以做什么

  • Works out of the box with Laravel
  • Axios integration
  • Select with search and remote source option
  • Nested Checkboxes

实测星标增长

24小时
0
7天
0
15天
-1
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Formvuelar

Vue form components with server side validation in mind

Formvuelar basic form

About

FormVuelar is a set of Vue 3 form components designed to automatically display errors coming back from your backend. It works out of the box with the error message bag Laravel returns when submitting an AJAX form.

Examples

Give it a try!

Documentation

Full Documentation

Features

  • Works out of the box with Laravel
  • Axios integration
  • Select with search and remote source option
  • Nested Checkboxes
  • File upload support including progress indication
  • Image upload with image preview
  • Dropzone with image preview (inspired by FilePond)
  • Display validation error messages from error response
  • Supports Tree Shaking (adds only used components to your js bundle)

Getting Started

npm install formvuelar --save

FormVuelar 2 targets Vue 3. Vue 2 projects should stay on the maintained 1.x release:

npm install [email protected] --save

Import components and the bundled styles:

import { FvlForm, FvlInput, FvlSubmit } from 'formvuelar'
import 'formvuelar/style.css'

All primary control values use Vue 3's default v-model:

<fvl-form :data="form" url="/users">
  <fvl-input v-model="form.name" name="name" label="Name" />
  <fvl-submit>Save</fvl-submit>
</fvl-form>

See the Vue 3 migration guide for the complete binding map.

Credits

HelpSpace.com

License

Released under the MIT License.

探索相关项目

加载中…