Skip to content

Commit

Permalink
Release v2.2.0
Browse files Browse the repository at this point in the history
for better international support, both `mask` and `digitOnly` directives now also check the `code` attribute in `KeyboardEvent`.
fix #35
  • Loading branch information
changhuixu committed Aug 26, 2020
1 parent 450eb69 commit cdfa44d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@

- **v2.1.0**(**v1.9.0**): fix an issue ([#39]) when typing decimal numbers for the `digitOnly` directive

- **v2.2.0**: fix an issue ([#35]): for better international support, both `mask` and `digitOnly` directives now also check the `code` attribute in `KeyboardEvent`.

---

## Installation
Expand Down
2 changes: 2 additions & 0 deletions projects/uiowa/digit-only/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@

- **v2.1.0**(**v1.9.0**): fix an issue ([#39]) when typing decimal numbers for the `digitOnly` directive

- **v2.2.0**: fix an issue ([#35]): for better international support, both `mask` and `digitOnly` directives now also check the `code` attribute in `KeyboardEvent`.

---

## Installation
Expand Down
2 changes: 1 addition & 1 deletion projects/uiowa/digit-only/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@uiowa/digit-only",
"version": "2.1.0",
"version": "2.2.0",
"author": "Changhui Xu <changhui-xu@uiowa.edu>",
"description": "This package includes two Angular directives. The digitOnly directive only allows numbers in the input box when typing, pasting or drag/dropping. The mask directive checks the input pattern attribute.",
"keywords": [
Expand Down

0 comments on commit cdfa44d

Please sign in to comment.