# ember-form-validator

> Provides a form validator to validate empty inputs, select and checkboxes.

Latest version **1.0.9** (published 2020-01-23) · MIT license · 0 weekly downloads

## Install

```sh
npm install ember-form-validator
pnpm add ember-form-validator
yarn add ember-form-validator
bun add ember-form-validator
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.9 |
| Published | 2020-01-23 |
| First published | 2018-12-19 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | ^4.5 \|\| 6.* \|\| >= 7.* \|\| >= 8.* |
| Dependencies | 2 |
| Unpacked size | 5.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 5 |
| Author | abhinav-garg |
| Maintainers | abhinav098 |
| Keywords | ember-addon, ember-form-validator, form-validator, input-validator, select-validator |

## Links

- npm: https://www.npmjs.com/package/ember-form-validator
- Repository: https://github.com/abhinav098/ember-form-validator
- Homepage: https://github.com/abhinav098/ember-form-validator#readme
- Issues: https://github.com/abhinav098/ember-form-validator/issues
- npm.io page: https://npm.io/package/ember-form-validator

## Dependencies (2)

- [ember-cli-sass](https://npm.io/package/ember-cli-sass.md) 5.5.2
- [ember-cli-babel](https://npm.io/package/ember-cli-babel.md) ^6.3.0

## 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

- 1.0.9 (latest) — 2020-01-23
- 1.0.7 — 2018-12-23
- 1.0.6 — 2018-12-19
- 1.0.5 — 2018-12-19
- 1.0.4 — 2018-12-19
- 1.0.3 — 2018-12-19
- 1.0.2 — 2018-12-19
- 1.0.1 — 2018-12-19

## README

# ember-form-validator

This README outlines the details of collaborating on this Ember addon.

## Installation

* `git clone <repository-url>` this repository
* `cd ember-form-validator`
* `npm install && bower install`

## Usage

* Add `{{validate-inputs}}` at top of your form
* We need to pass the `css-selectors` of the element we need to validate
* For example
```
{{validate-inputs
  elementCssIdentifiersArrayJson='["#people-count", "#description", ".district-selector select"]'
  errorClass='form__control--error'
  buttonId='#request-submit'
}}
```
* `elementCssIdentifiersArrayJson` will be the json of list of `css-selectors` for your form elements.
* `errorClass` is for applying some error css defined in your project.
* `buttonId` will be the id for submit button present for your form.

## Running

* `ember serve`
* Visit your app at [http://localhost:4200](http://localhost:4200).

## Building

* `ember build`

For more information on using ember-cli, visit [https://ember-cli.com/](https://ember-cli.com/).

# Contact

For any issues contact the author at  `abhinav.garg1218@gmail.com`

Thanks

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