Skip to content

Commit

Permalink
fixes form.remove (closes #486)
Browse files Browse the repository at this point in the history
  • Loading branch information
davelandry committed Jun 15, 2016
1 parent cb5a645 commit 90ce8de
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/form/methods/remove.coffee
@@ -1,6 +1,7 @@
module.exports =
accepted: undefined
accepted: [undefined, Function]
process: (value, vars) ->
vars.container.value.remove() if @initialized
vars.container.ui.remove() if @initialized
delete vars.container.ui
return
value: undefined

0 comments on commit 90ce8de

Please sign in to comment.