Browse Source

Pull request #12312: REPORT-99332 设计器文本输入框文本被自动移除的问题

Merge in DESIGN/design from ~HARRISON/design:release/11.0 to release/11.0

* commit 'f2101b9c00507dcd7e213daabfd2125fa22c1532':
  REPORT-99332 设计器文本输入框文本被自动移除的问题 rt, 把 trim 取消掉
newui
Harrison-刘珂 1 year ago
parent
commit
0ef06b34e6
  1. 6
      designer-realize/src/main/java/com/fr/quickeditor/cellquick/CellStringQuickEditor.java

6
designer-realize/src/main/java/com/fr/quickeditor/cellquick/CellStringQuickEditor.java

@ -37,17 +37,17 @@ public class CellStringQuickEditor extends CellQuickEditor {
private DocumentListener documentListener = new DocumentListener() {
@Override
public void insertUpdate(DocumentEvent e) {
changeReportPaneCell(stringTextArea.getText().trim());
changeReportPaneCell(stringTextArea.getText());
}
@Override
public void removeUpdate(DocumentEvent e) {
changeReportPaneCell(stringTextArea.getText().trim());
changeReportPaneCell(stringTextArea.getText());
}
@Override
public void changedUpdate(DocumentEvent e) {
changeReportPaneCell(stringTextArea.getText().trim());
changeReportPaneCell(stringTextArea.getText());
}
};

Loading…
Cancel
Save