Skip to content

Commit

Permalink
#20407 Add constant field to the rendearble field group
Browse files Browse the repository at this point in the history
  • Loading branch information
dsilvam committed May 19, 2021
1 parent f7e612b commit ff13d54
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -83,6 +83,7 @@ private Object renderFieldValue(final DataFetchingEnvironment environment,

private boolean isFieldRenderable(final Field field) {
return field instanceof WysiwygField || field instanceof TextField ||
field instanceof TextAreaField || field instanceof CustomField;
field instanceof TextAreaField || field instanceof CustomField
|| field instanceof ConstantField;
}
}

0 comments on commit ff13d54

Please sign in to comment.