Monday, February 10, 2020

Set CSS classes and other similar things on FormControl types in TypeScript!

Those specifics get jammed in the curly braces below.

let foo = new FormControl({value: 'Nancy', disabled: true}, Validators.required);

No comments:

Post a Comment