sof-ng-controls
TypeScript icon, indicating that this package has built-in type declarations

1.12.9 • Public • Published

Clases

  • required-label: asterisco que marca el campo requerido

Configuración

Textos para validaciones

En la aplicación agregar: ControlsModule.forRoot(config)

const config = { 'required': (label?: string) => label + ' required!!', 'maxlength': (label?: string, error?: any) => label + ' maxLength!!', 'minlength': (label?: string, error?: {actualLength: number, requiredLength: number}) => label + ' minLength!! ' + error?.requiredLength };

https://github.com/udos86/ng-dynamic-forms#custom-validators

Readme

Keywords

none

Package Sidebar

Install

npm i sof-ng-controls

Weekly Downloads

1

Version

1.12.9

License

UNLICENSED

Unpacked Size

1.97 MB

Total Files

226

Last publish

Collaborators

  • ivflores