Skip to content

Commit

Permalink
Set treedropdownfield source object to SiteTree
Browse files Browse the repository at this point in the history
  • Loading branch information
webmen-development authored Feb 12, 2024
1 parent cb67059 commit ed06f09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ElementalGrid/ElementArticle.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public function getCMSFields(): FieldList
TreeDropdownField::create(
'ArticlePageID',
_t(__CLASS__ . '.ARTICLETOSHOW', 'Article to show'),
ArticlePage::class
SiteTree::class
),
CheckboxField::create(
'ShowMoreArticlesButton',
Expand Down

0 comments on commit ed06f09

Please sign in to comment.