Skip to content

Add datalist/store and debounce to Filter#62

Merged
vampi62 merged 1 commit intomainfrom
filter
Mar 20, 2026
Merged

Add datalist/store and debounce to Filter#62
vampi62 merged 1 commit intomainfrom
filter

Conversation

@vampi62
Copy link
Copy Markdown
Owner

@vampi62 vampi62 commented Mar 20, 2026

Enable datalist input type and support for store/remote-backed options in Filter.vue. Key changes: hide component when type is 'hidden'; accept options as an array of {id, value}; add fetchOptions, storeData, storeKey and sortOptions props; debounce input updates and call refetchData to load remote/store options; accent-insensitive filtering and optional sorting; add filterStoreOption for store-backed suggestions; improve preset handling on mount and update validateInput to emit correct ids/values.

Update FilterContainer.vue to convert legacy options objects into the new array shape, forward sort-options, add optional saveState/stateKey to persist filter values in sessionStorage, emit a ready event, and persist filters after updates.

Update views to use the new datalist/store features and type semantics: InventoryView now uses a datalist for tags with fetchOptions and storeData/storeKey;

Overall this change modernizes and extends the filtering UX to support dynamic, remote and persisted option lists and improves matching behavior.

Enable datalist input type and support for store/remote-backed options in Filter.vue. Key changes: hide component when type is 'hidden'; accept options as an array of {id, value}; add fetchOptions, storeData, storeKey and sortOptions props; debounce input updates and call refetchData to load remote/store options; accent-insensitive filtering and optional sorting; add filterStoreOption for store-backed suggestions; improve preset handling on mount and update validateInput to emit correct ids/values.

Update FilterContainer.vue to convert legacy options objects into the new array shape, forward sort-options, add optional saveState/stateKey to persist filter values in sessionStorage, emit a ready event, and persist filters after updates.

Update views to use the new datalist/store features and type semantics: InventoryView now uses a datalist for tags with fetchOptions and storeData/storeKey;

Overall this change modernizes and extends the filtering UX to support dynamic, remote and persisted option lists and improves matching behavior.
@vampi62 vampi62 merged commit 9031ed5 into main Mar 20, 2026
1 check passed
@vampi62 vampi62 deleted the filter branch March 20, 2026 23:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant