Skip to content

Releases: ultimatecourses/ngx-errors

v1.4.0

19 Dec 18:50
Compare
Choose a tag to compare
  • Adds support for Angular v5

1.3.0

20 Apr 15:05
Compare
Choose a tag to compare

Features

See the documentation here.

1.2.1

19 Apr 22:21
Compare
Choose a tag to compare

Bugfixes

  • Fixes IE throwing at Array.includes (#12) (212a010)

1.2.0

13 Apr 23:24
Compare
Choose a tag to compare

Features

  • hasError now supports wildcard
<div [ngClass]="{
  invalid: myError.hasError('*'),
  invalidTouchedDirty: myError.hasError('*', ['touched', 'dirty'])
}">
</div>

Deprecations/Breaking Changes

None

1.1.0

13 Apr 18:44
Compare
Choose a tag to compare

Features

  • Added support for conditions for .hasError, example:
<div [ngClass]="{ required: myError.hasError('required', ['dirty', 'touched']) }">
  <input type="text" formControlName="username">
</div>

<div ngxErrors="username" #myError="ngxErrors">
  <div ngxError="required" [when]="dirty">
    Field is required
  </div>
</div>

Deprecations/Breaking Changes

  • None

1.0.0

13 Apr 14:36
Compare
Choose a tag to compare

Features

  • Add directive API to provide error information to template refs (see here) (848801a)

Bug fixes

  • Fix issue with @ultimate/ngxerrors not being a module (#4, #5) (1a2aad6)

Breaking changes

  • ngErrors renamed to ngxErrors, deprecation warning removed - will error if not changed
  • ngError renamed to ngxError, deprecation warning removed - will error if not changed

0.2.0

13 Apr 11:51
Compare
Choose a tag to compare

Changes

  • Deprecated "ngErrors" to use "ngxErrors"
  • Deprecated "ngError" to use "ngxError"

This will be fully removed in 1.0.0

0.1.0

11 Apr 17:45
Compare
Choose a tag to compare

Initial Release