Skip to content
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

CustomEntityCollection Min/Max Items properties #444

Open
HasanAouzoun opened this issue May 27, 2021 · 2 comments
Open

CustomEntityCollection Min/Max Items properties #444

HasanAouzoun opened this issue May 27, 2021 · 2 comments
Milestone

Comments

@HasanAouzoun
Copy link

Hi, is it possible to have MinItem and MaxItem properties on the CustomEntityCollection and CustomEntityMultiTypeCollection?

[CustomEntityCollection(PaymentMethodCustomEntityDefinition.DefinitionCode, MinItem = 1, MaxItem = 5)]
public ICollection<int> PaymentMethodIds { get; set; }
@HasanAouzoun HasanAouzoun changed the title CustomEntityCollection Min/Max Items CustomEntityCollection Min/Max Items properties May 27, 2021
@HeyJoel
Copy link
Member

HeyJoel commented May 28, 2021

No, not yet, this was added with the new [NestedDataModelCollection] attribute but wasn't back-ported to older collection types.

@HeyJoel HeyJoel added this to the Backlog milestone May 28, 2021
@HasanAouzoun
Copy link
Author

Thank you @HeyJoel.

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

No branches or pull requests

2 participants