Skip to content

Commit 1d8f66c

Browse files
schiwekMnkaputnik
andauthored
Added @UI.MultiLineText to value fields (#135)
Hi @Sv7enNowitzki, if a String field is currently modified and tracked via a change log, which contains a long string, it is not properly rendered on the UI due to the missing `@UI.MultiLineText` annotation. With that it basically renders as before, just that after 4/5 lines a show more button appears instead of rendering the whole value, which looks strange in a table. BR, Marten Co-authored-by: Nick Josipovic <[email protected]>
1 parent 3c826f2 commit 1d8f66c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.cds

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ entity Changes {
5454
key ID : UUID @UI.Hidden;
5555
keys : String @title: '{i18n>Changes.keys}';
5656
attribute : String @title: '{i18n>Changes.attribute}';
57-
valueChangedFrom : String @title: '{i18n>Changes.valueChangedFrom}';
58-
valueChangedTo : String @title: '{i18n>Changes.valueChangedTo}';
57+
valueChangedFrom : String @title: '{i18n>Changes.valueChangedFrom}' @UI.MultiLineText;
58+
valueChangedTo : String @title: '{i18n>Changes.valueChangedTo}' @UI.MultiLineText;
5959

6060
// Business meaningful object id
6161
entityID : String @title: '{i18n>Changes.entityID}';

0 commit comments

Comments
 (0)