Browse Source

REPORT-99332 设计器文本输入框文本被自动移除的问题

rt, 把 trim 取消掉
newui
Harrison 2 years ago
parent
commit
f2101b9c00
  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