fix: dynamic app count in search placeholder
This commit is contained in:
@@ -70,7 +70,7 @@
|
|||||||
<section class="step" id="step-apps">
|
<section class="step" id="step-apps">
|
||||||
<h2>2. Select Apps</h2>
|
<h2>2. Select Apps</h2>
|
||||||
<div class="search-bar">
|
<div class="search-bar">
|
||||||
<input type="text" id="app-search" placeholder="🔍 Search 186 apps..." />
|
<input type="text" id="app-search" placeholder="🔍 Search apps..." />
|
||||||
</div>
|
</div>
|
||||||
<div class="presets-bar">
|
<div class="presets-bar">
|
||||||
<span class="presets-label">Quick stacks:</span>
|
<span class="presets-label">Quick stacks:</span>
|
||||||
|
|||||||
@@ -487,6 +487,7 @@ function initWizard() {
|
|||||||
// Search
|
// Search
|
||||||
function initSearch() {
|
function initSearch() {
|
||||||
const input = document.getElementById('app-search');
|
const input = document.getElementById('app-search');
|
||||||
|
input.placeholder = `🔍 Search ${apps.length} apps...`;
|
||||||
input.addEventListener('input', (e) => {
|
input.addEventListener('input', (e) => {
|
||||||
state.searchQuery = e.target.value;
|
state.searchQuery = e.target.value;
|
||||||
renderAppGrid();
|
renderAppGrid();
|
||||||
|
|||||||
Reference in New Issue
Block a user