1rosehip / 1rosehip/jplist

Checkbox Filter Need Exact Match

Open
#273 4 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
HTML
Stars
435
Forks
168
PR merge metrics
No merged PRs in 30d

Description

I'm using the checkbox-text-filter and would like it to find exact matches only. For instance, searching for "apple" would pull a value of "apple" only, not a value of "apple and banana". Similar to the textbox-filter data-mode setting. Is this currently available? Is there a way I can implement it on my own?

Contributor guide

No contributing guide indexed for this repository

Research direction

Look at the checkbox-text-filter implementation in the jplist source code, likely in a file like jquery.jplist.js. Compare it to the textbox-filter's data-mode setting for exact matching. Understand how the filtering logic works and modify it to support an exact match mode for checkbox filters. Test by creating a demo with sample data to ensure 'apple' matches only 'apple' and not 'apple and banana'.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, jquery
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.