leahjlou / react-filter-builder Goto Github PK
View Code? Open in Web Editor NEWA React component for building queries/filters.
License: MIT License
A React component for building queries/filters.
License: MIT License
Add a text input above the filter attribute picker to filter the possible attributes
See https://github.com/CanopyTax/react-query-builder/blob/master/src/query-builder.js#L242
Mostly need to cover what fields are supported in filterDefs
.
Would be nice to have some linting goin' on
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 ?
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:
"compile": "babel src --out-dir dist && cp ../src/query-builder.css ../dist/query-builder.js",
./dist/query-builder.js:4
import '../src/query-builder.css';
package.json
"main": "src/query-builder.js",
Add the ability to show a custom message when a filter gets disabled, i.e., "This filter type is not compatible because X"
See https://github.com/CanopyTax/react-query-builder/blob/master/src/query-builder.js#L189
Please do you have any suggestions or way to add combinators (AND, OR, NOT) to the filters?
Thanks.
Taiwo
Right now it only supports the text
input type. We should implement datepicker
, daterange
, select
, multiselect
, and probably some others. See the input component
Set up tests and write some of 'em.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.