Include field maxLength attribute in what's sent to frontend

This commit is contained in:
2025-03-18 10:47:12 -05:00
parent 116a4e883b
commit e4d52a0443

View File

@ -55,6 +55,7 @@ public class QFrontendFieldMetaData implements Serializable
private String possibleValueSourceName; private String possibleValueSourceName;
private String displayFormat; private String displayFormat;
private Serializable defaultValue; private Serializable defaultValue;
private Integer maxLength;
private List<FieldAdornment> adornments; private List<FieldAdornment> adornments;
private List<QHelpContent> helpContents; private List<QHelpContent> helpContents;
@ -85,6 +86,7 @@ public class QFrontendFieldMetaData implements Serializable
this.defaultValue = fieldMetaData.getDefaultValue(); this.defaultValue = fieldMetaData.getDefaultValue();
this.helpContents = fieldMetaData.getHelpContents(); this.helpContents = fieldMetaData.getHelpContents();
this.inlinePossibleValueSource = fieldMetaData.getInlinePossibleValueSource(); this.inlinePossibleValueSource = fieldMetaData.getInlinePossibleValueSource();
this.maxLength = fieldMetaData.getMaxLength();
for(FieldBehavior<?> behavior : CollectionUtils.nonNullCollection(fieldMetaData.getBehaviors())) for(FieldBehavior<?> behavior : CollectionUtils.nonNullCollection(fieldMetaData.getBehaviors()))
{ {