Add rules to input

This commit is contained in:
Peter Maquiran
2021-07-15 15:39:10 +01:00
parent 44296e6008
commit 268b1917eb
4 changed files with 8 additions and 2 deletions
@@ -142,6 +142,10 @@ export class NewPublicationPage implements OnInit {
Subject: new FormControl(this.pub.Title, [
Validators.required,
// Validators.minLength(4)
]),
Message: new FormControl(this.pub.Message, [
// Validators.required
Validators.maxLength(1000)
])
})
}