Skip to content

Commit

Permalink
SS4: Fix casting of CarouselSlide::StyleAttribute().
Browse files Browse the repository at this point in the history
  • Loading branch information
Taitava committed Jan 9, 2019
1 parent 25ddb34 commit 72d32ce
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/CarouselSlide.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@ public function fieldLabels($includerelations = true)
'Link',
];

private static $casting = [
'StyleAttribute' => 'HTMLText',
];

private static $searchable_fields = [];

private static $default_sort = 'Sort ASC';
Expand Down

0 comments on commit 72d32ce

Please sign in to comment.