BGroup = new FormGroup({
test: new FormControl(null, [Validators.required, Validators.pattern("[0-9]*$")])
});
Hi, I work with Angular 9 How can I set a pattern that takes only decimal numbers? Like the numbers below.
11 OR 11.30 OR 9 OR 9.40 OR 11.05 OR 16 OR 11.80 ......
max number =20
min number=0