Browse Source

Pull request #12133: REPORT-96567 文本控件无法正确设置输入方式

Merge in DESIGN/design from ~CORAL.CHEN/design:release/11.0 to release/11.0

* commit 'e073d7692df7bb04863cbea886a55497ea112b4a':
  REPORT-96567 文本控件无法正确设置输入方式
release/11.0
Coral.Chen-张晨 2 years ago
parent
commit
64dbc82860
  1. 4
      designer-form/src/main/java/com/fr/design/widget/ui/designer/mobile/TextEditorMobileDefinePane.java

4
designer-form/src/main/java/com/fr/design/widget/ui/designer/mobile/TextEditorMobileDefinePane.java

@ -39,17 +39,17 @@ public class TextEditorMobileDefinePane extends BaseTextEditorMobileDefinePane {
@Override
public void populate(FormDesigner designer) {
super.populate(designer);
TextEditor textEditor = (TextEditor) getxCreator().toData();
inputSettingPane.populateBean(textEditor.getMobileScanCodeAttr());
textSettingPane.populateBean(textEditor.getMobileTextEditAttr());
this.bindListeners2Widgets();
}
@Override
public void update() {
super.update();
TextEditor textEditor = (TextEditor) getxCreator().toData();
inputSettingPane.updateBean(textEditor.getMobileScanCodeAttr());
textSettingPane.updateBean(textEditor.getMobileTextEditAttr());
DesignerContext.getDesignerFrame().getSelectedJTemplate().fireTargetModified();
}

Loading…
Cancel
Save