- SIRET Entreprises
- SIRET La Poste
Run the following command to install the package :
npm install ng-siret-validator --save
You must import the validator ValidateSiret
in your component
import { ValidateSiret } from "ng-siret-validator";
this.siretForm = this.formBuilder.group({
siret: ['', [Validators.required, ValidateSiret]]
});