Skip to content
Permalink
Browse files

feat(cf-navigation): add disabled attribute (#242)

  • Loading branch information...
czosel committed May 15, 2019
1 parent 5d40c13 commit 926b9de10e4f0a51cdab92e22a799b859288d860
Showing with 7 additions and 1 deletion.
  1. +6 −0 addon/components/cf-navigation.js
  2. +1 −1 addon/templates/components/cf-navigation.hbs
@@ -47,6 +47,12 @@ export default Component.extend(ComponentQueryManager, {
*/
subSection: null,

/**
* Renders the forms disabled.
* @argument {Boolean} disabled
*/
disabled: false,

_currentDocumentId: null,

async didReceiveAttrs() {
@@ -33,7 +33,7 @@
</div>

<div class="uk-width-1-1 uk-width-2-3@m">
{{cf-form document=displayedDocument context=context}}
{{cf-form document=displayedDocument context=context disabled=disabled}}
</div>
{{/if}}
</div>

0 comments on commit 926b9de

Please sign in to comment.
You can’t perform that action at this time.