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

Required CmsPage propertie? #77

Closed
willemhoog opened this Issue Dec 21, 2015 · 1 comment

Comments

Projects
None yet
2 participants
@willemhoog

willemhoog commented Dec 21, 2015

Hey,

I have searched for it but I can't find it.
Is it possible in a page type to set required value for a property?
For example the headline can't not be empty with published or saved.

[Property("Headline")]
public virtual StringProperty Headline { get; set; }

@fschultz

This comment has been minimized.

Show comment
Hide comment
@fschultz

fschultz Dec 21, 2015

Contributor

At the moment there's no generic way to set properties to required. This is a feature that is clearly lacking. I'm flagging this issue for the next major release and will be adding the ability to set [Required] attribute to the properties.

Contributor

fschultz commented Dec 21, 2015

At the moment there's no generic way to set properties to required. This is a feature that is clearly lacking. I'm flagging this issue for the next major release and will be adding the ability to set [Required] attribute to the properties.

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