This method will generate the label, error tag, input tag and hint tag (if any), and
assemble them into HTML according to [[template]].
public render ( string | callable $content = null ) : string | ||
$content | string | callable | the content within the field container. If `null` (not set), the default methods will be called to generate the label, error tag and input tag, and use them as the content. If a callable, it will be called to generate the content. The signature of the callable should be: ```php function ($field) { return $html; } ``` |
Résultat | string | the rendering result. |