Skip to content

Commit

Permalink
Widget status is required
Browse files Browse the repository at this point in the history
  • Loading branch information
SeriaWei committed Jan 11, 2024
1 parent 352d51b commit a4f60d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ZKEACMS/MetaData/WidgetMetaData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ private void InitViewBase()
ViewConfig(m => m.Title).AsTextBox().Order(NextOrder());
ViewConfig(m => m.Position).AsTextBox().Order(NextOrder()).RegularExpression(RegularExpression.Integer).Required();
ViewConfig(m => m.ZoneId).AsDropDownList().Order(NextOrder()).DataSource(ViewDataKeys.Zones, SourceType.ViewData).Required();
ViewConfig(m => m.Status).AsDropDownList().DataSource(DictionaryKeys.WidgetStatus, SourceType.Dictionary).Order(NextOrder());
ViewConfig(m => m.Status).AsDropDownList().DataSource(DictionaryKeys.WidgetStatus, SourceType.Dictionary).Order(NextOrder()).Required();
ViewConfig(m => m.IsTemplate).AsCheckBox().Order(NextOrder());
ViewConfig(m => m.Thumbnail).AsTextBox().Order(NextOrder()).MediaSelector();
ViewConfig(m => m.StyleClass).AsTextBox()
Expand Down

0 comments on commit a4f60d1

Please sign in to comment.