Fixed issue with updating nested properties via binding.

This commit is contained in:
Nedyalko Nikolov
2015-06-08 09:27:59 +03:00
parent fd85e47fb1
commit a122d854d0
2 changed files with 33 additions and 1 deletions

View File

@ -261,7 +261,7 @@ export class Binding {
else {
this.updateTarget(expressionValue);
}
} else if (data.propertyName === this.options.sourceProperty) {
} else if (data.propertyName === this.sourceOptions.property) {
this.updateTarget(data.value);
}
}