xcash / bootstrap-autocomplete

Bootstrap Autocomplete
MIT License
168 stars 72 forks source link

Fix invalid markup generated for dropdown in Bootstrap 4 #100

Open nathan-osman opened 3 years ago

nathan-osman commented 3 years ago

When run in Bootstrap 4, the plugin creates <a> elements for the dropdown. However, this is invalid markup, as the href attribute is required for the <a> element.

The result of this omission is that the text color is incorrect in many themes and the cursor is not a pointer:

2021-01-04 22_59_51-Pearup — Options

This pull request fixes the oversight.