You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor(ui5-checkbox): replace wrap with wrappingType (#3403)
As part of #3107 we decided to replace the boolean property wrap as we expect to add a new type of wrapping (Hyphenated) and for this the string property from enum type is more suitable.
BREAKING_CHANGE: The boolean property wrap has been removed in favour of string prop wrappingType. If you previously used wrap, now set wrappingType="Normal" instead.
<ui5-checkboxid="truncatingCb" text="Long long long text that should truncate at some point" style="width: 300px"></ui5-checkbox>
28
-
<ui5-checkboxid="wrappingCb" wrapclass="ui5-cb-testing-wrap" text="Longest ever text written in English that have to truncate immediately because it is so long of course!" style="width: 300px"></ui5-checkbox>
29
-
<ui5-inputid="field"></ui5-input>
30
-
31
-
<ui5-checkbox></ui5-checkbox>
32
27
<ui5-checkboxtext="Long long long text that should truncate at some point"></ui5-checkbox>
33
-
<ui5-checkboxwraptext="Longest ever text written in English that have to truncate immediately because it is so long of course!"></ui5-checkbox>
28
+
29
+
<br><br>
30
+
<ui5-title>Text Wrapping</ui5-title>
31
+
<ui5-checkboxid="wrappingCb" wrapping-type="Normal" class="ui5-cb-testing-wrap" text="Longest ever text written in English that have to wraps because it is so long of course!" style="width: 300px"></ui5-checkbox>
32
+
<ui5-checkboxwrapping-type="Normal" text="Longest ever text written in English that wraps because it's too long of course!" style="width: 300px"></ui5-checkbox>
33
+
34
+
<br><br>
35
+
<ui5-title>Change Event Test</ui5-title>
36
+
<ui5-checkboxid="cb1" text="Long long long text"></ui5-checkbox>
0 commit comments