Skip to content

bigBear713/nb-form

Repository files navigation

@bigbear713/nb-form

Angular common form lib by bigBear713.

OnlineDemo

Bug Report

Feature Request


Document


Changelog


Readme


Feature

  • Provide the common validators: arrLength, equal, fileSize, fileType, required, whitespace;
  • Support to use DI to set common error info;
  • Support the changeDetection of components as ChangeDetectionStrategy.OnPush;
  • Support to used in standalone component;
  • Support to be imported as a standalone component;

Version

The nb-form's major version will keep up with the Angular's major version
@bigbear713/nb-form @angular/core
^12.0.0 ^12.0.0
^13.0.0 ^13.0.0
^14.0.0 ^14.0.0
^15.0.0 ^15.0.0
^16.0.0 ^16.0.0
^17.0.0 ^17.0.0
^18.0.0 ^18.0.0

Installation

$ npm i @bigbear713/nb-form
// or
$ yarn add @bigbear713/nb-form

Start the demo project

  • Install the dependencies:
npm i
  • Build the nb-form lib
npm run build:lib
  • Run the nb-form unit test
npm run test:lib
  • Start the demo
npm start
  • build the demo
npm run build

Contribution

Feature and PR are welcome to make this project better together

bigBear713

License

MIT