Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed two typos, changed restrict:remove to restrict:reject #21

Merged
merged 1 commit into from
Apr 5, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
angular.module('yourApp', ['ngMask']);
```

**Whitout Bower:**
**Without Bower:**
* Download the ngMask.min.js file from dist folder:

```shell
Expand Down Expand Up @@ -156,11 +156,11 @@ You can make your mask using some patterns available. If you use a pattern not s
- **NgValue**: initial mask value (default: undefined)
- Attribute 'ng-value'
- The initial value of input.
- **Restrict**: 'select', 'remove' or 'accept' (default: select)
- **Restrict**: 'select', 'reject' or 'accept' (default: select)
- Attribute 'mask-restrict' or 'restrict'
- The way how ngMask will interact with user input.
- **Select** restriction: The input will show the char inputted even on error cases. If it has errors, the wrong char will be selected.
- **Reject** restriction: The input will show the char inputted on successfull cases. If it has errors, the wrong char will be rejected.
- **Reject** restriction: The input will show the char inputted on successful cases. If it has errors, the wrong char will be rejected.
- **Accept** restriction: The input will always show the char inputted. No matter it's right or wrong.
- **Repeat**: number - repeat mask n times (default: undefined)
- Attribute 'mask-repeat' or 'repeat'
Expand Down