Skip to content

Commit 8643fb6

Browse files
author
Kuldeep Saxena
authored
Update FieldControl.md
1 parent daf2c37 commit 8643fb6

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

docs/api/FieldControl.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,3 +93,21 @@ For eg.
9393
parent: AbstractControl;
9494
```
9595
An instance of FormGroup or FormArray class as a parent control.
96+
97+
##
98+
```ts
99+
meta: {[key: string]: any};
100+
```
101+
You can pass an object of custom variables to customize your component.
102+
103+
For example:
104+
105+
```ts
106+
<FieldControl
107+
meta={{
108+
label: "First Name",
109+
placeholder: "Enter your first name"
110+
}}
111+
...
112+
/>
113+
```

0 commit comments

Comments
 (0)