Skip to content

Commit

Permalink
Data List - added custom data-sources help note
Browse files Browse the repository at this point in the history
  • Loading branch information
leekelleher committed Jul 2, 2021
1 parent 7d2458d commit b9342b3
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,11 @@ public DataListConfigurationEditor(ConfigurationEditorUtility utility)
{ Constants.Conventions.ConfigurationFieldAliases.AddButtonLabelKey, "contentment_configureDataSource" },
{ EnableFilterConfigurationField.EnableFilter, dataSources.Count > 10 ? Constants.Values.True : Constants.Values.False },
{ Constants.Conventions.ConfigurationFieldAliases.Items, dataSources },
{ "help", new {
@class = "alert alert-info",
title = "Do you need a custom data-source?",
notes = $@"<p>If one of the data-sources above does not fit your needs, you can extend Data List with your own custom data source.</p>
<p>To do this, read the documentation on <a href=""{Constants.Package.RepositoryUrl}/blob/develop/docs/editors/data-list.md#extending-with-your-own-custom-data-source"" target=""_blank"" rel=""noopener""><strong>extending with your own custom data source</strong></a>.</p>" } },
}
});

Expand Down

0 comments on commit b9342b3

Please sign in to comment.