mirror of
https://gitee.com/jmix/cuba.git
synced 2024-12-05 04:38:10 +08:00
При установке required для resizable TextArea, после отображения экрана, возникает exception (Fix maxTextLength) #PL-5784
This commit is contained in:
parent
84be95aa2d
commit
e90785c2bf
@ -1902,9 +1902,12 @@ public abstract class WebAbstractTable<T extends com.vaadin.ui.Table & CubaEnhan
|
||||
layout.setWidthUndefined();
|
||||
layout.setStyleName("cuba-table-view-textcut");
|
||||
|
||||
CubaResizableTextAreaWrapper content = new CubaResizableTextAreaWrapper(new CubaTextArea());
|
||||
CubaTextArea textArea = new CubaTextArea();
|
||||
textArea.setValue(value);
|
||||
textArea.setReadOnly(true);
|
||||
|
||||
CubaResizableTextAreaWrapper content = new CubaResizableTextAreaWrapper(textArea);
|
||||
content.setResizable(true);
|
||||
content.setValue(value);
|
||||
|
||||
ThemeConstants theme = App.getInstance().getThemeConstants();
|
||||
if (theme != null) {
|
||||
@ -1915,7 +1918,6 @@ public abstract class WebAbstractTable<T extends com.vaadin.ui.Table & CubaEnhan
|
||||
content.setHeight("200px");
|
||||
}
|
||||
|
||||
content.setReadOnly(true);
|
||||
layout.addComponent(content);
|
||||
|
||||
component.showCustomPopup(layout);
|
||||
|
Loading…
Reference in New Issue
Block a user