Skip to content

Commit 7454818

Browse files
committed
remove slot content if any
1 parent 26466ca commit 7454818

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/directives/schema-form.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ angular.module('schemaForm')
9595
slot = null;
9696
}
9797
if(slot) {
98+
slot.innerHTML = "";
9899
slot.appendChild(n);
99100
} else {
100101
frag.appendChild(n);

0 commit comments

Comments
 (0)