Skip to content

Releases: changhuixu/ngx-digit-only

v1.9.0

17 Jul 23:19
Compare
Choose a tag to compare
Release v1.9.0

fix #39 by cherry-picking #40
v1.9.0 is compatible for projects using Angular versions 6-9

v2.0.0

07 Jul 16:35
Compare
Choose a tag to compare

Support Angular 10: adds a required dependency tslib v2.0 to the library.
related to issue #37

v1.8.0

06 Jul 21:41
Compare
Choose a tag to compare

Release v1.8.0

Close issue #36: paste in IE or Edge; related to pull request #38
Thanks to @sonicsuew

v1.7.0

04 May 14:23
Compare
Choose a tag to compare

allow model binding to min,max, and pattern properties

related PR: #30, #31
Thanks @tonivj5

v1.6.0

21 Apr 16:30
Compare
Choose a tag to compare

Provides a new directive mask, which checks the input pattern attribute when typing.

The digitOnly and mask directives are not supposed to be used together.

v1.5.0

21 Apr 15:31
Compare
Choose a tag to compare

release v1.5.0

The digitOnly directive will check the input pattern attribute if set, so that we can set the input only allow a certain format, especially for decimal numbers.

  • I haven't implemented the paste and drop events regarding the pattern attribute

relates to #29

v1.4.0

09 Apr 14:15
Compare
Choose a tag to compare
  • don't allow a decimal number has more than one decimal separator when paste or drop
  • added e2e tests

Thanks @loicgasser
closes #26

v1.3.0

17 Jan 18:20
Compare
Choose a tag to compare
update version to v1.3.0;

this directive accepts an attribute for the separator for decimal numbers. By default, the separator is a `.`. You can set it to comma when needed.

v1.2.3

08 Jan 02:28
Compare
Choose a tag to compare

fix: firefox doesn't recognize maxlength when paste.
related to issue #21

v1.2.2

06 Jan 16:56
Compare
Choose a tag to compare

fix firefox paste issue.
closes #16