Skip to content

Commit 714dc7d

Browse files
committed
Fix sf-decorator name clash
The attribute sf-decorator is now sf-use-decorator. Fixes #175 But this still leaves other bugs before its really useful.
1 parent 1b96fa3 commit 714dc7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/directives/schema-form.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ angular.module('schemaForm')
9292

9393
//Create directives from the form definition
9494
angular.forEach(merged, function(obj, i) {
95-
var n = document.createElement(attrs.sfDecorator ||
95+
var n = document.createElement(attrs.sfDefaultDecorator ||
9696
snakeCase(schemaFormDecorators.defaultDecorator, '-'));
9797
n.setAttribute('form', 'schemaForm.form[' + i + ']');
9898

0 commit comments

Comments
 (0)