ui5-webcomponents icon indicating copy to clipboard operation
ui5-webcomponents copied to clipboard

[Feature Request]: Text add empty-indicator, render-whitespace and hyphenated attributes

Open MarcusNotheis opened this issue 8 months ago • 1 comments

Feature Request Description

We would like to replace the UI5 Web Components for React Text component with the ui5-text web component, but some features are missing which would make the transition harder for us. This feature request is a follow up to address to open points from https://github.com/SAP/ui5-webcomponents/pull/8299

The Text should add support for the following attributes in my opinion:

  • [ ] emptyIndicator (SAPUI5 uses the emptyIndicatorMode with the EmptyIndicatorMode enum for that)
  • [ ] renderWhitespace
  • [ ] hyphenated (SAPUI5 uses wrappingType WrappingType for that)

Proposed Solution

Add those attributes to the ui5-text

Proposed Alternatives

We can write some documentation in UI5 Web Components for React on how to achieve this desired behaviour by using CSS.

Organization

UI5 Web Components for React

Additional Context

No response

Priority

Medium

Privacy Policy

  • [X] I’m not disclosing any internal or sensitive information.

MarcusNotheis avatar Jun 19 '24 05:06 MarcusNotheis