On this page
View Helpers
FormSearch
The FormSearch
view helper can be used to render an <input type="search">
HTML5 form input.
FormSearch
extends from FormText.
Basic usage
use Laminas\Form\Element;
$element = new Element('my-search');
// Within your view...
echo $this->formSearch($element);
Output:
<input type="search" name="my-search" value="">