- 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;
| @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 |
| ^19.0.0 | ^19.0.0 |
| ^20.0.0 | ^20.0.0 |
$ npm i @bigbear713/nb-form
// or
$ yarn add @bigbear713/nb-form- 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 buildFeature and PR are welcome to make this project better together
MIT