Skip to content

Commit 0422a80

Browse files
committed
Removing unnecessary section about createDirective
createDirective is deprecated and should not be used.
1 parent 1c3e889 commit 0422a80

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

documentation/extending.md

+1-7
Original file line numberDiff line numberDiff line change
@@ -137,13 +137,7 @@ The first argument is the name of the decorator, usually `bootstrapDecorator`. U
137137
The second argument is the name of your new form type, in this case `minimal`
138138
The third is the template we bind to it.
139139

140-
#### Finally register the directive
141-
142-
To have the field type be made into a directive that ASF can invoke, it must be created and registered as such:
143-
```javascript
144-
schemaFormDecoratorsProvider.createDirective('minimal',
145-
'directives/decorators/bootstrap/minimal/angular-schema-form-minimal.html');
146-
```
140+
*Note: The createDirective step has been deprecated and is no longer necessary*
147141

148142
At this stage, we might have a working add-in. However, normally, the template needs to be developed further:
149143

0 commit comments

Comments
 (0)