selectly
selectly copied to clipboard
Examples not working or outdated possibly?
I installed via npm and get these errors when using the example code:
TypeError: Cannot read property 'utils' of undefined TypeError: Cannot read property 'Select' of undefined
Not sure why. I did change: import { Select, Trigger, OptionList, Option, utils } from 'Selectly'
to import { Select, Trigger, OptionList, Option, utils } from 'selectly'
since I kept getting a module not found error.
Any idea if I might be doing something wrong?
I get the same type of error.
I got the same error as well.
Guys its works with React 15.0.1 not with React 15.6.1. You can check with below link.
https://codepen.io/souporserious/pen/vGRZQL
I'm definitely on 15.6 so I guess that makes sense. Do we know why it does not work on 15.6.1?
I tried finding yesterday, but couldn't find it.
Sorry I haven't been around on here. I've been super busy with some other projects and was on vacation as well. If you can hold out a little longer, I will be moving most of this work over to react-aria so it's all in one place and easier to use :)
I used react-aria directly and a dropdown selects seem to be working.
@aappddeevv It's not compatible because PropTypes is deprecated in 15.6.0. I'll create a pull request to fix this issue.
You must also use a lower case package now selectly
instead of Selectly
Any update on getting this to work with newer versions of React >= 16?
Same. I was hoping to use this, but the fact that it just doesn't work is a large issue for me.