Home > front end >  Reactive Forms: Activate Validation on disabled FormControl
Reactive Forms: Activate Validation on disabled FormControl

Time:04-26

it is posible in reactive Forms to force validiation on disabled FormContols?

CodePudding user response:

you can use readonly instead of disabled.

When you set disabled it's formcontrol validators will ignored.

for info: disabled input

  • Related