mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
Add rules to input
This commit is contained in:
@@ -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)
|
||||
])
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user