mistic100 / mistic100/jQuery-QueryBuilder

Text modifier on filters?

Open
#847 0 comments 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

Is there a way to add a static modifier on a filter? For instance, in your Basic example, what if I wanted to specify that the $10.25 price is in US Dollars (by putting 'US dollars' right after the input field) ? That impacts what value the user would enter.

It looks like I might be able to do a custom input? Would there be a way to extend an existing input and just put text after it?

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 with the Basic example and the existing custom-input option to determine how filter inputs are rendered and extended. Define whether a static suffix such as “US dollars” can be attached to an existing input, then verify that the displayed modifier remains separate from the submitted filter value.

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
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.