Skip to content

Can't have blank properties in Document Blueprints #19506

@Eaglef90

Description

@Eaglef90

Which Umbraco version are you using?

15.4.1

Bug summary

If a property is marked "required" and you try to leave it blank when saving a Document Blueprint the blueprint will not be saved.

Specifics

In the new Document Blueprint system you can not leave "required" properties blank. I believe you could do this with templates in v13. Not being able to leave a property blank is a bit annoying as some properties might always have to have a unique value and having a pre-defined one in a blue print means a document type could be created and published with those properties being forgotten to be updated. For example, if the property is a meta description it should be blank so when the editor goes to publish they can't until they remember to update the field.

Steps to reproduce

Create a document blueprint based off an existing content node which has a required property in it's document type.
Leave the required property blank and try to save the blueprint

Expected result / actual result

Expected: I can save a blueprint with empty properties even if the are deemed "required"

Actual: All "required" properties must have a value in them

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions