Skip to content

Commit 5621aaf

Browse files
resolve #1
1 parent 1f18445 commit 5621aaf

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,21 @@ app.config(['FormusConfigProvider', function (FormusConfigProvider) {
286286
});
287287
}]);
288288
```
289+
To extend a form configuration you can specify attribute `parent`. Formus will search container for form with that name and use its configuration.
290+
```js
291+
{
292+
//form containter
293+
parent: {
294+
config:{
295+
submit:{title:'Find'}
296+
}
297+
},
298+
child: {
299+
parent:'parent'
300+
}
301+
}
302+
```
303+
289304
#### Linkers
290305
291306
You can set custom linkers for special input types:

0 commit comments

Comments
 (0)