Coder Social home page Coder Social logo

Comments (6)

ukrbublik avatar ukrbublik commented on May 3, 2024

I added this feature to latest version.
See customFieldSelectProps and customProps in config.
"showSearch" will add search feature to select widgets.

from react-awesome-query-builder.

vaishaliakhare avatar vaishaliakhare commented on May 3, 2024

from react-awesome-query-builder.

vaishaliakhare avatar vaishaliakhare commented on May 3, 2024

I took the latest version and took the demo codehttps://github.com/ukrbublik/react-awesome-query-builder/tree/master/examples to test it out , I am getting below errors & the query builder goes away from the page when i click on "Add Rule" , am i missing something. Please guide.
[Error] TypeError: null is not an object (evaluating 'str.length')
truncateString (stuff.js:50)
renderAsSelect (Field.js:261)
finishClassComponent (react-dom.development.js:7873)
performUnitOfWork (react-dom.development.js:10224)
workLoop (react-dom.development.js:10288)
callCallback (react-dom.development.js:542)
dispatchEvent
invokeGuardedCallbackDev (react-dom.development.js:581)
invokeGuardedCallback (react-dom.development.js:438)
renderRoot (react-dom.development.js:10366)
performWorkOnRoot (react-dom.development.js:11014)
performWork (react-dom.development.js:10967)
batchedUpdates (react-dom.development.js:11086)
batchedUpdates (react-dom.development.js:2330)
dispatchEvent (react-dom.development.js:3421)
dispatchEvent
[Error] The above error occurred in the component:
in Field (created by Rule)
in div (created by Col)
in Col (created by Rule)
in div (created by Rule)
in Rule (created by RuleContainer)
in div (created by RuleContainer)
in RuleContainer (created by Item)
in Item (created by Item)
in div (created by Group)
in div (created by Group)
in Group (created by GroupContainer)
in div (created by GroupContainer)
in GroupContainer (created by Item)
in Item (created by Builder)
in Builder (created by SortableContainer)
in SortableContainer (created by ConnectedQuery)
in div (created by ConnectedQuery)
in div (created by ConnectedQuery)
in div (created by ConnectedQuery)
in ConnectedQuery (created by Connect(ConnectedQuery))
in Connect(ConnectedQuery) (created by Query)
in Provider (created by Query)
in LocaleProvider (created by Query)
in Query (created by Feed)
in div (created by Feed)
in Feed (created by Route)
in Route (created by App)
in Switch (created by App)
in div (created by Container)
in Container (created by App)
in main (created by App)
in div (created by App)
in div (created by App)
in App (created by Connect(App))
in Connect(App) (created by Route)
in Route (created by _default)
in Switch (created by _default)
in Router (created by BrowserRouter)
in BrowserRouter (created by _default)
in _default
in IntlProvider
in Provider
in AppContainer

React will try to recreate this component tree from scratch using the error boundary you provided, AppContainer.
logCapturedError (react-dom.development.js:9747)
captureError (react-dom.development.js:10540)
renderRoot (react-dom.development.js:10391)
performWorkOnRoot (react-dom.development.js:11014)
performWork (react-dom.development.js:10967)
batchedUpdates (react-dom.development.js:11086)
batchedUpdates (react-dom.development.js:2330)
dispatchEvent (react-dom.development.js:3421)
dispatchEvent
[Error] TypeError: null is not an object (evaluating 'str.length')
truncateString
renderAsSelect
finishClassComponent
performUnitOfWork
workLoop
callCallback
dispatchEvent
invokeGuardedCallbackDev
invokeGuardedCallback
renderRoot
performWorkOnRoot
performWork
batchedUpdates
batchedUpdates
dispatchEvent
dispatchEvent

render (AppContainer.dev.js:95)
finishClassComponent (react-dom.development.js:7873)
performUnitOfWork (react-dom.development.js:10224)
slowWorkLoopThatChecksForFailedWork (react-dom.development.js:10310)
workLoop (react-dom.development.js:10278)
callCallback (react-dom.development.js:542)
dispatchEvent
invokeGuardedCallbackDev (react-dom.development.js:581)
invokeGuardedCallback (react-dom.development.js:438)
renderRoot (react-dom.development.js:10366)
performWorkOnRoot (react-dom.development.js:11014)
performWork (react-dom.development.js:10967)
batchedUpdates (react-dom.development.js:11086)
batchedUpdates (react-dom.development.js:2330)
dispatchEvent (react-dom.development.js:3421)
dispatchEvent

from react-awesome-query-builder.

ukrbublik avatar ukrbublik commented on May 3, 2024

Fixed. Thanks.

from react-awesome-query-builder.

vaishaliakhare avatar vaishaliakhare commented on May 3, 2024

from react-awesome-query-builder.

sarika-pst avatar sarika-pst commented on May 3, 2024

I am using the same code from https://github.com/ukrbublik/react-awesome-query-builder#usage
But I am not able to search in the select box. I am new to react-awesome-query-builder. Can someone please help me with modifying the configuration for the select search option.
Thanks in advance.

from react-awesome-query-builder.

Related Issues (20)

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.