Permalink
Browse files

fix(bootstrap): form-group accesses the label value correctly

  • Loading branch information...
bas080
bas080 committed Jun 10, 2016
1 parent 13b045f commit 33c9e1bb4fc59e9a6906e2425174d2bcde82a057
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/frameworks/form-group.js
@@ -13,11 +13,11 @@ export class FormGroup {
*/
@computedFrom('label')
get showsLabel() {
return (this.label !== false);
return (this.attribute.label !== false);
}

/**
* @returns {boolean} true if message is empty or null
* @returns {boolean} false if message is empty or null
*/
@computedFrom('message')
get showsMessage() {

0 comments on commit 33c9e1b

Please sign in to comment.