Merge pull request #3836 from NativeScript/list-view-default-binding

FIX: Be able to bind list view.items to string
This commit is contained in:
Alexander Vakrilov
2017-03-20 17:51:40 +02:00
committed by GitHub

View File

@ -107,7 +107,7 @@ export abstract class ListViewBase extends View implements ListViewDefinition {
lbl.bind({ lbl.bind({
targetProperty: "text", targetProperty: "text",
sourceProperty: "$value" sourceProperty: "$value"
}, null); });
return lbl; return lbl;
} }