Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
}

try {
const regex = RegExp(this.query);
const regex = RegExp(this.query, "i");
const results = this.packages.filter(pkg => {
return regex.test(pkg.name);
})
Expand Down Expand Up @@ -112,7 +112,7 @@
<!-- Search Box -->
<div class="bg-primary border-l-4 border-secondary flex flex-col gap-8 p-8 rounded">
<div class="form-control">
<input type="text" id="search-box" placeholder="Search" autofocus class="input input-bordered input-lg w-full" x-model="query">
<input type="text" id="search-box" placeholder="Search" autofocus autocapitalize="off" class="input input-bordered input-lg w-full" x-model="query">
</div>
</div>

Expand Down Expand Up @@ -145,4 +145,4 @@
</div>
</body>

</html>
</html>