Skip to content

[SchemaRenderer] Support dial:propertyOrder #799

Description

@likeamike

Description

JSON Schema properties can carry a dial:meta.dial:propertyOrder (numeric) hint — used by DIAL Admin's SchemaGrid to let schema authors set a property's intended display order. SchemaRenderer/SchemaObjectEditor currently render properties in plain object/insertion order and ignore this field entirely, so the rendered form order can diverge from what schema authors configured.

Add support so rendered property order follows dial:propertyOrder (ascending) when present, falling back to source order for properties that don't set it.

Related issues

None.

Confidential information

  • I confirm that do not share any confidential information

Activity

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

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions