You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

typeaheadhelper.bootstrap.3

Package Overview
Dependencies
Maintainers
0
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

typeaheadhelper.bootstrap.3

4.29.5
unpublished
nugetNuGet
Maintainers
0
Source
  • Add typeahead input in a razor view:

@Html.TypeaheadFor(model=>model.Country, Model.Countries, new {@class="form-control")

In the same way as @Html.DropDownListFor(...), with the second parameter as IEnumerable.

  • Include the assets Place Scripts\typeahead-razor-helper.js after Scripts\typeahead.bundle.js (which includes BloodHound). Include Content\bootstrap.css and Content\typeahead-bootstrap.css.

  • Initiate Bind the JavaScript to the input by

initTypeahead($('.typeahead'));

Keywords

typeahead

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts