Skip to content

Commit

Permalink
Set ListExpand to false by default. Fixes #1232
Browse files Browse the repository at this point in the history
  • Loading branch information
tidyui committed Jun 12, 2020
1 parent 7d76e9a commit a59b65d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/Piranha/Extend/RegionAttribute.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ public class RegionAttribute : Attribute
public string ListPlaceholder { get; set; }

/// <summary>
/// Gets/sets if list items should be expandable. If not, the
/// content is placed directly in the title.
/// Gets/sets if all lite items should be expanded in the UI.
/// This works best for single field regions or smaller regions.
/// </summary>
public bool ListExpand { get; set; } = true;
public bool ListExpand { get; set; } = false;

/// <summary>
/// Gets/sets the optional sort order.
Expand Down

0 comments on commit a59b65d

Please sign in to comment.