Skip to content

Commit

Permalink
Fix lack of styles when editing an entry version
Browse files Browse the repository at this point in the history
  • Loading branch information
engram-design committed Nov 11, 2018
1 parent 7275932 commit 4fcddc5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/fields/SuperTableField.php
Original file line number Diff line number Diff line change
Expand Up @@ -624,6 +624,8 @@ public function getStaticHtml($value, ElementInterface $element): string

$id = StringHelper::randomString();

Craft::$app->getView()->registerAssetBundle(SuperTableAsset::class);

return Craft::$app->getView()->renderTemplate('super-table/input', [
'id' => $id,
'name' => $id,
Expand Down

0 comments on commit 4fcddc5

Please sign in to comment.