Skip to content

Commit

Permalink
Add isWrapData property on panel
Browse files Browse the repository at this point in the history
  • Loading branch information
dgurjar committed Sep 18, 2024
1 parent 0e3f849 commit 019d22e
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,13 @@ public Boolean isReadOnly() {
return readOnly;
}

@Override
@JsonInclude(JsonInclude.Include.NON_NULL)
@Nullable
public boolean isWrapData() {
return wrapData;
}

@Override
@JsonIgnore
@NotNull
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,15 @@ public interface Panel extends Container, ContainerConstraint {
default Boolean isReadOnly() {
return null;
}

/**
* Checks if the container is wrap data.
*
* @return {@code true} if the container is wrap data, {@code false} otherwise
* @since com.adobe.cq.forms.core.components.models.form 5.3.0
*/
default boolean isWrapData() {
return false;
}

}

0 comments on commit 019d22e

Please sign in to comment.