NAMESPACE: packages/actionMexample/Components
Components/getIconField.php
This will automatically set input type for eamil, phone and password accordingly, based on the $field
$field | Field name or ID. This is accessible from the model when view is submitted. |
$title | param string $title Title for the field. Recommended to be provided as a localization string like this: {#name#} |
$icon | param string $icon Icon file name. Icon should be put under images directory. |
$field |
$title |
$icon |