Skip to content

Commit 0464df4

Browse files
TalmizAhmedci-build
authored and
ci-build
committed
Added comment with context
1 parent ab93b88 commit 0464df4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

bundles/af-core/src/main/java/com/adobe/cq/forms/core/components/util/AbstractOptionsFieldImpl.java

+5
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,11 @@ public abstract class AbstractOptionsFieldImpl extends AbstractFieldImpl impleme
5050
@Nullable
5151
protected String[] enumNames;
5252

53+
/**
54+
* Default for single and multi-valued fields used the same 'default' crx property.
55+
* This was not compatible with Universal Editor's Property Rail Configuration.
56+
* Therefore adding this property as an additional way of defining default values.
57+
**/
5358
@ValueMapValue(injectionStrategy = InjectionStrategy.OPTIONAL, name = ReservedProperties.PN_MULTI_DEFAULT_VALUES)
5459
@Nullable
5560
protected Object[] multiDefaultValues;

0 commit comments

Comments
 (0)