Skip to content
This repository has been archived by the owner on Jan 5, 2022. It is now read-only.

Releases: third774/ng-bootstrap-form-validation

v9.0.1

04 Feb 16:47
db1ec1f
Compare
Choose a tag to compare

Allows deeply nested controls #96

v9.0.0-1

29 Oct 16:54
7d0a7e1
Compare
Choose a tag to compare

Re-releasing v9.0.0 due to a CI configuration issue with previous release

v9.0.0

01 Oct 01:39
d83ab51
Compare
Choose a tag to compare

Angular 9 Support

v5.0.0

19 Sep 22:05
547d56a
Compare
Choose a tag to compare

Add Angular 8 support

v3.0.3

09 Sep 17:37
Compare
Choose a tag to compare

Adding link to v3.0.0 release notes to readme

v3.0.2

09 Sep 17:34
Compare
Choose a tag to compare

Copy repo metadata to built package.json file

v3.0.1

09 Sep 17:33
Compare
Choose a tag to compare

Copy readme to built package for deployment to npm

v3.0.0

09 Sep 17:13
Compare
Choose a tag to compare

New Features

Supports Bootstrap 4!

Breaking Changes

  • Requires Angular 6

  • NgBootstrapFormValidationModule.forRoot() now accepts an object with configuration options instead of just an array for custom error messages. Furthermore, it defaults to BootstrapVersion.Four so if you want to continue using it with Bootstrap 3, you'll need to pass in this additional argument. Alternatively, you may also provide the BootstrapVersion value using the BOOTSTRAP_VERSION token.

import {
  NgBootstrapFormValidationModule,
  BootstrapVersion,
  BOOTSTRAP_VERSION
} from 'ng-bootstrap-form-validation';
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';

import { AppComponent } from './app.component';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';

@NgModule({
  declarations: [AppComponent],
  imports: [
    BrowserModule,
    FormsModule,
    ReactiveFormsModule,
    NgBootstrapFormValidationModule.forRoot({
      bootstrapVersion: BootstrapVersion.Three, // Defaults to Four
      customErrorMessages: []
    })
  ],
  providers: [
    // Alternatively, you can provide the BootstrapVersion value
    // using the BOOTSTRAP_VERSION token
    // {
    //   provide: BOOTSTRAP_VERSION,
    //   useValue: BootstrapVersion.Three
    // }
  ],
  bootstrap: [AppComponent]
})
export class AppModule {}

Other Bug Fixes

  • Radio button validation fixed - #32
  • Validation for array fields - #40
  • Error when using inputs styled as form-control outside of forms #46

v2.1.0

15 Jan 03:25
342a45d
Compare
Choose a tag to compare

Added a message outlet component for custom message placement. See here for example usage.

Fixes #6

v2.0.2

12 Jan 00:27
Compare
Choose a tag to compare

No changes, just bumping version to fix this issue.

#21