Comments (3)
I am also seeing this issue when trying:
HTML:
<select class="form-control" id="degree_filter"> <option value="all">All</option> <option value="Ph.D.">Ph.D.</option> <option value="M.D. / Ph.D.">M.D. / Ph.D.</option> <option value="M.S.">M.S.</option> </select>
JS:
FJS.addCriteria({field: 'related_degrees_filterable', ele: '#degree_filter', all: 'all'});
JSON:
"related_degrees_filterable": [ "M.D. / Ph.D.", "M.S." ],
I receive the following error: filter.js:327 Uncaught TypeError: qFn is not a function
Any insight appreciated!
from filter.js.
For multiple select only single value in JSON will work.
i.e
"related_degrees_filterable":"M.D"
For array need to change code in selection and filtering logic.
from filter.js.
Thanks Jiren!
from filter.js.
Related Issues (20)
- Filtering not working
- Filter.JS somehow pulling from another page's JSON when filtering
- How to filter by multi field with the same value? HOT 1
- Clear filters?
- Spaces in JSON object causes issues in the template
- Latest release?
- Filtering criteria from a property in Array of objects
- Generate criteria automatic in HTML HOT 1
- Clearing and hiding check boxes HOT 3
- Remember counter after filtering HOT 1
- Using url not working HOT 7
- Undocumented callback: shortResult
- Question: Stream percent
- multi word search instead of string search HOT 3
- filter.js:327 Uncaught TypeError: qFn is not a function HOT 1
- Error while generating getter function for selector
- Initiate search HOT 2
- VIDEO FILE LOADER NOT SUPPORT...
- Sort by Alphabetical Order
- [chore] NPM
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from filter.js.