update checkbox host

This commit is contained in:
Adam Bradley
2015-06-22 13:10:46 -05:00
parent e81a78e9d6
commit 1e496d6aed
2 changed files with 11 additions and 15 deletions

View File

@ -35,7 +35,7 @@ function appendModeConfig(ComponentType) {
// set the component "hostProperties", so the instance's
// property value will be used to set the element's attribute
config.host['[attr.' + util.pascalCaseToDashCase(prop)] = prop;
config.host['[attr.' + util.pascalCaseToDashCase(prop) + ']'] = prop;
}
// called by the component's onInit when an instance has been created and properties bound