GithubHelp home page GithubHelp logo

react-filter-builder's People

Contributors

leahjlou avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

react-filter-builder's Issues

Add eslint

Would be nice to have some linting goin' on

Simpler filters

If I want to have this filter builder for a select dropdown, or to do an async request to a rest api, is there any way to do it ?

NPM install missing ./dist/query-builder.css

I was investigating this tool for use in an ES6 project with a custom webpack/babel config (without babel "es2015").

Attempting to import your npm module resulted in a compile time error due to a missing file, with the error focused on this line

./dist/query-builder.js:4 import './query-builder.css';

There are a few possible fixes:

  • Copy ../src/query-builder.css ../dist/query-builder.js as part of the prepublish npm script
    package.json
    "compile": "babel src --out-dir dist && cp ../src/query-builder.css ../dist/query-builder.js",
  • Change the ES6 css import statement to go up a directory first, so the dist folder can always import the css file directly from the ./src/ directory

./dist/query-builder.js:4

import '../src/query-builder.css';
  • Change the package json file to directly reference the uncompiled ./src/ directory for external webpack ES6 imports, rather than pointing to the ./dist/ directory which is for those who lack a external buildchain

package.json

  "main": "src/query-builder.js",

Using Combinators - AND, OR

Please do you have any suggestions or way to add combinators (AND, OR, NOT) to the filters?

Thanks.
Taiwo

Tests

Set up tests and write some of 'em.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.