mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-17 21:01:34 +08:00
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:
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user