ui5-webcomponents
ui5-webcomponents copied to clipboard
[Feature Request]: Text add empty-indicator, render-whitespace and hyphenated attributes
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 theemptyIndicatorMode
with the EmptyIndicatorMode enum for that) - [ ]
renderWhitespace
- [ ]
hyphenated
(SAPUI5 useswrappingType
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.