icon_select_box() form()
Pick a Font Awesome icon from the full list, each shown with its icon.
form()->icon_select_box($name = '', $desc = '', $extra = [], $replace = [])Опції
| Опція | Значення |
|---|---|
$name | Default icon. |
renderer, selected | As for the geo boxes. A saved value that is not in the list (fa fa-home) is kept as the first option; with an empty icons table the field is a text input. |
Приклад
Код
return form(['icon' => 'fa-star'])->icon_select_box();Див. також: html/icon, demo:form/boxes/icon_select_box