Skip to content

Conversation

@chaaya
Copy link
Contributor

@chaaya chaaya commented May 26, 2016

The bug is that the value of enableConfirmDelete always becomes false
beacuse it binds to a attribute that is lowercased. In the documenation it
clearly states that the attribute should be written like
enable-confirm-delete. Wich means that is has to be camelcased in the
directive.

<adf-dashboard
       name="{string}"
       [editable="{boolean}"]
       [collapsible="{boolean}"]
       [maximizable="{boolean}"]
       [enable-confirm-delete="{boolean}"]
       [structure="{string}"]
       [adf-model="{object}"]
       [adf-widget-filter="{function}"]
       [continuous-edit-mode="{boolean}"]>
</adf-dashboard>

…ashboard

The bug is that the value of enableConfirmDelete always becomes false
beacuse it binds to attribute that is lowercased. In the documenation it
clearly states that the attribute should be written like
enable-confirm-delete with means that is has to be camelcased in the
directive.
@chaaya chaaya changed the title enableConfirmDelete is now configurable via attribute BUG-fix: enableConfirmDelete is now configurable via attribute May 26, 2016
@coveralls
Copy link

Coverage Status

Coverage remained the same at 92.52% when pulling 1d14eb1 on momentumsoftwareab:bug-fix/enable-confirm-on-delete into 3b910f9 on angular-dashboard-framework:master.

@sdorra sdorra merged commit 874c6ac into angular-dashboard-framework:master May 26, 2016
@sdorra
Copy link
Member

sdorra commented May 26, 2016

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants