mistic100 / mistic100/jQuery-QueryBuilder

Ability of disabling individual filters

Open
#877 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
1.7k
Forks
544
PR merge metrics
No merged PRs in 30d

Description

I have a situation where I want to disable certain filters based on user input and re-enable them later.
I see that rules have an option "filter_readonly" to make filters select box disabled and readonly.
Can something like this be done directly on an individual filter?
Example: I want to disable 3 filters shown under Tables(Elevators) and later re-enable them based on some user action.

image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the existing filter_readonly rule and how individual filters are rendered. Determine the expected behavior for disabling selected filters and re-enabling them after user input, then verify the result against the three filters shown in the issue example.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, jquery
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.