Merge pull request #1999 from NativeScript/nnikolov/ConvertersChangingBindingContext

Fixed adding converters to bindingContext.
This commit is contained in:
Nedyalko Nikolov
2016-04-20 16:30:37 +03:00
2 changed files with 13 additions and 3 deletions

View File

@@ -567,6 +567,7 @@ export function test_BindingToDictionaryAtAppLevel() {
page.bindingContext = pageViewModel;
TKUnit.assertEqual(testLabel.text, expectedValue);
TKUnit.assertTrue(testLabel.bindingContext["dict"] === undefined, "BindingContext should not contain properties from application resources.");
}
helper.buildUIAndRunTest(createLabel(), testFunc);