Skip to content

Commit 5878f04

Browse files
Add import to documentation for clarity
1 parent c372aa1 commit 5878f04

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ export class AppModule { }
3131
Declare your validation with messages:
3232

3333
```ts
34+
import { Validators } from 'angular-reactive-validation';
35+
36+
...
37+
3438
form = this.fb.group({
3539
name: this.fb.group({
3640
firstName: ['', [Validators.required('A first name is required'),

0 commit comments

Comments
 (0)