nova-drafts icon indicating copy to clipboard operation
nova-drafts copied to clipboard

Create a custom validation for create as draft

Open phpMuhammed opened this issue 5 years ago • 4 comments

Custom Draft Validation So i can make validation on my fields in create as draft operation, that's should be totally separated from the default creation validation.

phpMuhammed avatar Feb 09 '20 12:02 phpMuhammed

@devmsh check this out

phpMuhammed avatar Feb 09 '20 12:02 phpMuhammed

Thank you for the feature request. I currently don't have time to implement this since i'm working on another project, but pull requests are more than welcome.

KasparRosin avatar Feb 10 '20 10:02 KasparRosin

@phpMuhammed, I didn't understand exactly what's to be done, could you please give more details.

jhonatasfender avatar Mar 03 '21 10:03 jhonatasfender

@jhonatasfender I believe what he meant something along the lines of how the current creationRules and updatingRules are made. So we'd have something like draftCreationRules and draftPublishRules where you could define optional rules for when drafts are being created and when drafts are being published.

KasparRosin avatar Mar 04 '21 07:03 KasparRosin