This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

ngx-type-safe-reactive-form
TypeScript icon, indicating that this package has built-in type declarations

1.0.5 • Public • Published

Build Status npm version License: MIT

NgxTypeSafeReactiveForm

Installation

npm install --save ngx-type-safe-reactive-form

Usage

Same as the original Reactive Forms, but it has a type.
See https://angular.io/guide/reactive-forms

import { TypeSafeFormBuilder } from 'ngx-type-safe-reactive-form';

@Component({
  selector: 'app-form',
  templateUrl: './form.component.html',
})
export class FormComponent {

  readonly form = this.formBuilder.group({
    username: '',
    password: '',
    rememberMe: false,
  });

  constructor(
    private formBuilder: TypeSafeFormBuilder
  ) { }

}

Live example

Readme

Keywords

Package Sidebar

Install

npm i ngx-type-safe-reactive-form

Weekly Downloads

25

Version

1.0.5

License

MIT

Unpacked Size

71 kB

Total Files

24

Last publish

Collaborators

  • itigoore01