mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-17 21:01:34 +08:00
Fix Repeater
This commit is contained in:
@ -68,12 +68,11 @@ export class Repeater extends CustomLayoutView implements RepeaterDefinition {
|
||||
}
|
||||
|
||||
public _getDefaultItemContent(index: number): View {
|
||||
|
||||
const lbl = new Label();
|
||||
lbl.bind({
|
||||
targetProperty: "text",
|
||||
sourceProperty: "$value"
|
||||
}, null);
|
||||
});
|
||||
return lbl;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user