# vueeform

> form object, form validation

Latest version **0.2.1** (published 2018-02-14) · MIT license · 0 weekly downloads

## Install

```sh
npm install vueeform
pnpm add vueeform
yarn add vueeform
bun add vueeform
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.1 |
| Published | 2018-02-14 |
| First published | 2018-02-13 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 8.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Muhammad Abdurrahman |
| Maintainers | rachmanzz |
| Keywords | form, vue, mapping |

## Links

- npm: https://www.npmjs.com/package/vueeform
- Repository: https://github.com/rachmanzz/vue-form
- Homepage: https://github.com/rachmanzz/vue-form#readme
- Issues: https://github.com/rachmanzz/vue-form/issues
- npm.io page: https://npm.io/package/vueeform

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 0.2.1 (latest) — 2018-02-14
- 0.1.2 — 2018-02-14
- 0.1.1 — 2018-02-14
- 0.1.0 — 2018-02-13

## README

# vue-form

## Basic Usage
 
    import { vueform } from 'vueeform'

    Vue.use(vueform)

## Implementation

### Form Template

    <form submit.prevent="myMethods">
      <input name="email">
    </form>
    
### method function

    methods: {
      myMethods (e) {
          const q = this.$form(e) // pull all
          const data = q.refByName().getObject() // convert to object {email: 'yourimputmail@mail.com'}
      }
    }

### Validation 

    <form submit.prevent="myMethods">
      <input name="email" validate="required|email">
    </form>

---------------------------

    methods: {
      myMethods (e) {
          const q = this.$form(e) // pull all
          const data = q.refByName().getObject() // convert to object {email: 'yourimputmail@mail.com'}
          if(q.valid) {
              // input fields is valid
          }
      }
    }

---
_Source: https://npm.io/package/vueeform · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
