NAMESPACE: packages/actionMexample/Components


public function getIconField($field,$title,$icon)

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.