-
-
Notifications
You must be signed in to change notification settings - Fork 8
Description
I cannot delete the saved filter. When I run analysis this is what I get.
KTL Bug Report
Bug: Stop Filter Button State Not Updating Correctly
Description:
The Stop button (view_XXX_Stop_filterBtn) shows incorrect disabled state and does not properly clear active filters.
Steps to Reproduce:
Create and save a filter using KTL's "Save Filter" button
Click the saved filter button to activate it
Observe the Stop button state
Expected Behavior:
Stop button should be disabled when no filters are active
Stop button should be enabled when a filter is active
Clicking Stop button when enabled should clear the active filter
The button state should update immediately when filters are applied/removed
Actual Behavior:
Stop button remains disabled even when filters are active
localStorage shows active filter exists: {"view_158":"Test 1"}
Button state does not sync with actual filter state
Users cannot clear active filters using the Stop button
Environment:
KTL Version: (check with ktl.version in console)
Knack App ID: 68edd9cdb26ae10288abea5d
Browser: Chrome/Firefox (specify yours)
View: view_158
Evidence:
javascript// Active filter EXISTS in localStorage
localStorage.getItem('Client_ea5d_UF_ACTIVE_68f1a5a1a405ae03087e4afd')
// Returns: {"view_158":"Test 1"}
// But Stop button shows disabled
$('#view_158_Stop_filterBtn').prop('disabled')
// Returns: true (when it should be false)
Impact:
Users cannot remove active filters
Must manually clear localStorage to reset filters
Workaround required (custom clear button)