Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

BindableLayout.SetEmptyViewTemplate sets EmptyView instead of EmptyViewTemplate #12683

Closed
VincentH-Net opened this issue Oct 30, 2020 · 0 comments · Fixed by #12689
Closed

BindableLayout.SetEmptyViewTemplate sets EmptyView instead of EmptyViewTemplate #12683

VincentH-Net opened this issue Oct 30, 2020 · 0 comments · Fixed by #12689
Labels
blocker Issue blocks next stable release. Prioritize fixing and reviewing this issue. t/bug 🐛
Milestone

Comments

@VincentH-Net
Copy link
Contributor

public static void SetEmptyViewTemplate(BindableObject b, DataTemplate value)
{
b.SetValue(EmptyViewProperty, value);
}

A single statement change would fix this:
b.SetValue(EmptyViewProperty, value); -> b.SetValue(EmptyViewTemplateProperty, value);

Possibly this also fixes #9905, #12374 and #10831

This issue was first reported in #11428 and again in #12623 (comment)

@VincentH-Net VincentH-Net added s/unverified New report that has yet to be verified t/bug 🐛 labels Oct 30, 2020
@samhouts samhouts added this to New in Triage Oct 30, 2020
@PureWeen PureWeen added this to To do in vNext+1 (5.0.0) via automation Oct 30, 2020
@PureWeen PureWeen added 5.0.0-pre4 and removed s/unverified New report that has yet to be verified labels Oct 30, 2020
@PureWeen PureWeen moved this from New to Ready For Work in Triage Oct 30, 2020
@PureWeen PureWeen moved this from To do to Blockers in vNext+1 (5.0.0) Oct 30, 2020
@PureWeen PureWeen moved this from Blockers to In Review in vNext+1 (5.0.0) Oct 31, 2020
@PureWeen PureWeen moved this from In Review to In Progress in vNext+1 (5.0.0) Nov 2, 2020
@PureWeen PureWeen added the blocker Issue blocks next stable release. Prioritize fixing and reviewing this issue. label Nov 2, 2020
@samhouts samhouts added this to the 5.0.0 milestone Nov 2, 2020
Triage automation moved this from Ready For Work to Closed Nov 5, 2020
vNext+1 (5.0.0) automation moved this from In Progress to Done Nov 5, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
blocker Issue blocks next stable release. Prioritize fixing and reviewing this issue. t/bug 🐛
Projects
Triage
  
Closed
Development

Successfully merging a pull request may close this issue.

3 participants