Skip to content

Truncate - True calculated middle truncate #10892

@gitdallas

Description

@gitdallas

Currently, the Truncate component requires trailingNumChars when truncating in the middle. It would be helpful if the component were also able to automatically truncate to where the truncate would leave equal (+-1) characters on either side.

This came up in a slack conversation with Vince Consola and @christianvogt

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions