Steffen Kämmerer
Steffen Kämmerer

Reputation: 109

Reactive Forms: Activate Validation on disabled FormControl

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

Upvotes: 0

Views: 1094

Answers (1)

Bansi29
Bansi29

Reputation: 1079

you can use readonly instead of disabled.

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

for more info: disabled input

Upvotes: 2

Related Questions