mirror of
https://github.com/Kingsrook/qqq.git
synced 2025-07-18 05:01:07 +00:00
Include field maxLength attribute in what's sent to frontend
This commit is contained in:
@ -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()))
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user