Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    mkarimv
    @mkarimv
    Screenshot 2019-06-11 at 18.52.38.png
    gb9box
    @gb9box
    Hi all!
    I’ve got an error when test with Jest after using this package.
    ...
    TypeError: request.open is not a function
        at dispatchXhrRequest (.../node_modules/axios/lib/adapters/xhr.js:28:13)
        at new Promise (<anonymous>)
        at xhrAdapter (.../node_modules/axios/lib/adapters/xhr.js:11:10)
        at dispatchRequest (.../node_modules/axios/lib/core/dispatchRequest.js:59:10)
        at <anonymous>
    npm ERR! code ELIFECYCLE
    npm ERR! errno 1
    npm ERR! my-project@0.1.0 test: `node scripts/test.js --env=jsdom`
    npm ERR! Exit status 1
    npm ERR!
    npm ERR! Failed at the my-project@0.1.0 test script.
    npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
    Jest testing was working well before using this package.
    I need help to fix this issue ASAP
    HonestDev
    @HonestDev
    Hi all!
    how can i get the postal code of address?
    Dennis
    @jacquesporveau
    I've opened up a PR to add some missing test coverage: hibiken/react-places-autocomplete#283
    Kareem Khattab
    @kvreem
    is there a way to require an exact address?
    so more granular than city,state,country
    Anirudh Prasad
    @prasadanirudh
    im not gettting the true values in reponse while entering zipcode, like 10003. Any idea......
    image.png
    Above is the results im getting
    image.png
    while searching same on google map, it shows above results
    Abhi
    @abhigk
    Examples on github or npm
    are using css classes like className="autocomplete-dropdown-container"
    where is css file to use?
    Abhi
    @abhigk
    Is this a totally dead community?
    Javier Couce Langa
    @JCouce
    I hope it's not, the CSS files are not available you can design your own :(.
    I am trying to keep the results even when the input is not focused, anyone has an idea to do so?
    Javier Couce Langa
    @JCouce
    Solved:
    Just pass a reference prop:
    ref={(ref) => { if (!ref) return; ref.handleInputOnBlur = () => { }; }}
    Bhumi Sukhadiya
    @bhumi0901_gitlab
    searchOptions are not working in my case.
    I need name field also in selected address object
    but i am not able to get it.
    What is the issue?
    Andrew Godman
    @andrewgodman
    Hi everyone
    Just wondering if issue 84 has been looked at: hibiken/react-places-autocomplete#84
    There's a PR still open and wondered if anyone is mantaining the project still?
    Ikram kadri
    @kadriikram45_gitlab
    Hello
    I need to get the country, city and postal code in the result how we can do that
    gb9box
    @gb9box
    @kadriikram45_gitlab I can help you to make it
    Ghost
    @ghost~5e8c6aa0d73408ce4fdf9222
    hello everyone
    can anyone help me i am very new to react
    I need to update center and zoom of the map
    but no luck
    Amit Kolambikar
    @Amit_Kolambikar_twitter
    Hi
    does anyone have some good css for this package ?
    Heero Punjabi
    @heeropunjabikogx
    Hi All
    Need to filter results only for India location
    how can we make it ?
    @hibiken ?
    or rather should address having pincode.
    Gabriel Abud
    @G_Abud_twitter
    has anyone been able to mock this with cypress? I have tried following this: https://github.com/hibiken/react-places-autocomplete/issues/189#issuecomment-418555543 but it hasn't done anything
    Sam Bokai
    @sambokai
    We're looking for help with this: "Add a section to the README about how to test this component" hibiken/react-places-autocomplete#326
    1 reply
    Rahul Ahire
    @MeRahulAhire
    How to pass the value of "address" of this library to parent component
    hibiken/react-places-autocomplete#329
    Newgin Sam
    @Newgin-sam
    how to get city state postcode from this autocomplete
    Oliver
    @oliversisson
    Hi everyone. I'm a software engineer with experience at Google and Coursera. Great package. I noticed that you haven't updated the npm version in over a year. I'd really like a more recent version, especially with this change: hibiken/react-places-autocomplete@2bd5e64
    are there any plans to push a more recent version to npm? is the master branch stable?
    Birendra Kumar
    @birendra90
    Hi, How i would get the entire address with suggestions such as Housing no, city, state, postcode etc
    mbknu
    @mbknu
    @aymensmurf_gitlab hello did you find how to do reverse geocoding, cause i'm stuck like you ^^
    Chetan Kumar
    @Ckbhatia
    HI, this project should have sponsorship enabled as it will help the owner to put card details in the google dev platform. So, it's demo runs.