Skip to content

Commit

Permalink
Add icons to page field options
Browse files Browse the repository at this point in the history
  • Loading branch information
giuscris committed Feb 22, 2025
1 parent 63c4ef2 commit 5477f1b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions panel/views/fields/page.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
'value' => $page->route(),
'selected' => $page->route() === $field->value(),
'data-allowed-templates' => $page->scheme()->options()->get('children.templates'),
'data-icon' => $page->icon(),
]) ?>><?= str_repeat('', $page->level() - 1) . $this->escape($page->title()) ?></option>
<?php endforeach ?>
</select>
Expand Down

0 comments on commit 5477f1b

Please sign in to comment.