Skip to content

Add trimming to "Shape type" field in placements #18827

@MikeKry

Description

@MikeKry

I would like to propose a small quality-of-life improvement: automatically trim leading and trailing whitespace in the Shape Type field within placements.

I think there aren't any valid use cases where whitespace in the shape name is used.

Is your feature request related to a problem?

We spent a considerable amount of time debugging why a particular placement was not working, only to discover that the issue was caused by unintended whitespace in the Shape Type field.

Image

Describe the solution you'd like

Automatically trim leading and trailing whitespace in the Shape Type field.

Alternatively, display a validation warning if whitespace is detected.

This would help avoiding similar issues in the future.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions