|
|
@ -35,7 +35,8 @@ public abstract class XFieldCreator extends XOpenCreator { |
|
|
|
.keyValue(XCreatorConstants.PROPERTY_CATEGORY, "Fine-Design_Report_Advanced"); |
|
|
|
.keyValue(XCreatorConstants.PROPERTY_CATEGORY, "Fine-Design_Report_Advanced"); |
|
|
|
|
|
|
|
|
|
|
|
Widget widget = toData(); |
|
|
|
Widget widget = toData(); |
|
|
|
if (widget instanceof Blankable && ((Blankable) widget).isAllowBlank()) { |
|
|
|
// 控件类型允许值为空,但是设置了不允许为空,就要设置为空时的提示信息
|
|
|
|
|
|
|
|
if (widget instanceof Blankable && !((Blankable) widget).isAllowBlank()) { |
|
|
|
return new Attribute[]{ |
|
|
|
return new Attribute[]{ |
|
|
|
allowBlank, blankErrorMsg, fontSize |
|
|
|
allowBlank, blankErrorMsg, fontSize |
|
|
|
}; |
|
|
|
}; |
|
|
|