Releases: ultimatecourses/ngx-errors
Releases · ultimatecourses/ngx-errors
v1.4.0
1.3.0
1.2.1
1.2.0
1.1.0
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
Features
Bug fixes
- Fix issue with
@ultimate/ngxerrors
not being a module (#4, #5) (1a2aad6)
Breaking changes
ngErrors
renamed tongxErrors
, deprecation warning removed - will error if not changedngError
renamed tongxError
, deprecation warning removed - will error if not changed