Skip to content

Order Property UI Extension with group Uc.OrderPropertyGroup.Notes does not respect labelUiAlias #760

@arknu

Description

@arknu

Which component is this issue related to?

Umbraco Commerce (Core)

Which Umbraco Commerce version are you using? (Please write the exact version, example: 10.1.0)

16.3.0

Bug summary

If I add a custom property editor to the Notes section, like this:

{
	type: "ucOrderProperty",
	alias: "Demo",
	name: "Demo Order Property",
	weight: 400,
	meta: {
		propertyAlias: "demo",
		readOnly: true,
		group: "Uc.OrderPropertyGroup.Notes",
		editorUiAlias: "Umb.PropertyEditorUi.Label",
		labelUiAlias: "Demo.PropertyEditorUi.PreLabel"
	}
}

The labelUiAlias is not used and it always uses the Umb.PropertyEditorUi.Label. However, if I move the property to Uc.OrderPropertyGroup.Notes the specified property editor is used. So it seems that the label UI is ignored when in the notes section.

Specifics

No response

Steps to reproduce

See above

Expected result / actual result

No response

Dependencies

No response

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