Skip to content
This repository has been archived by the owner on Jul 11, 2018. It is now read-only.

Cannot read property 'slice' of undefined #7

Open
srakshit opened this issue Jul 20, 2016 · 1 comment
Open

Cannot read property 'slice' of undefined #7

srakshit opened this issue Jul 20, 2016 · 1 comment

Comments

@srakshit
Copy link

Hi @joshcarr ,

I'm using the minimalist feature of the filter like

<StructuredFilter
    placeholder="Search..."
    options={[
        {category:"Name",type:"text"},
        {category:"Price",type:"number"},
    ]}
/>

and I'm getting the error

Uncaught TypeError: Cannot read property 'slice' of undefined
getStateFromProps 
Tokenizer 
constructComponentWithoutOwner 

Could you please help.

@joshcarr
Copy link

addressed this in joshcarr/issues/7

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants