OnsSearchInput Directive (ons-search-input)

Angular directive for <ons-search-input> component.

A search input element. The component will automatically render as a Material Design search input on Android devices. Most attributes that can be used for a normal <input> element can also be used on the <ons-search-input> element.



ons-input element renders a input box. Please refer to ons-input element Reference for more details.

Tutorial contents will be added soon.

See also


Name Type Default Value Description
input-id String Specify the “id” attribute of the inner <input> element. This is useful when using <label for="..."> elements. Optional.


Name Description
value The current value of the input.
disabled Whether the input is disabled or not.

Preset Modifiers

Name Description
material Displays a Material Design search input.


Name Type Description
value {string} Input value for the internal <input> element.


Name Type Description
valueChange {string} Triggers when the value is changed.


Need Help?

If you have any questions, use our Community Forum or talk to us via Gitter chat. The Onsen UI team and your peers in the community will work together to help solve your issues.

For bug reports and feature requests use our GitHub Issues page.