New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom Entity Picker: Cannot be optional #92

Closed
HeyJoel opened this Issue May 17, 2017 · 0 comments

Comments

Projects
None yet
1 participant
@HeyJoel
Copy link
Member

HeyJoel commented May 17, 2017

When editing a custom entity, I cannot make a child custom entity optional. E.g the data model is defined as:

 public class TestDataModel : ICustomEntityVersionDataModel
{
     [Display(Name = "Category")]
     [CustomEntity(CategoryCustomEntityDefinition.DefinitionCode)]
     public int? CategoryId { get; set; }
}

In the admin panel the category field shows up as required.

@HeyJoel HeyJoel added the bug label May 17, 2017

@HeyJoel HeyJoel added this to the 0.1.7 milestone May 17, 2017

@HeyJoel HeyJoel self-assigned this May 17, 2017

@HeyJoel HeyJoel closed this in 4e00bfd May 17, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment