Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unhandled promise? #29

Open
mikeKane opened this issue Oct 16, 2019 · 1 comment
Open

unhandled promise? #29

mikeKane opened this issue Oct 16, 2019 · 1 comment
Labels
question Further information is requested

Comments

@mikeKane
Copy link

Here is my current code

 <GoogleAutoComplete apiKey=API_KEY" debounce={300}>
                            {({ inputValue, handleTextChange, locationResults, fetchDetails }) => (
                                < React.Fragment >
                                    <TextInput
                                        style={{
                                            height: 40,
                                            width: 300,
                                            borderWidth: 1,
                                            paddingHorizontal: 16,
                                        }}
                                        value={inputValue}
                                        onChangeText={handleTextChange}
                                        placeholder="Location..."
                                    />
                                    <ScrollView style={{ maxHeight: 100 }}>
                                        {locationResults.map((el, i) => (
                                            <LocationItem
                                                {...el}
                                                fetchDetails={fetchDetails}
                                                key={String(i)}
                                            />
                                        ))}
                                    </ScrollView>
                                </React.Fragment>
                            )}

The cloud console shows I am making requests. Im using react native on an iPhone

IMG_4984

@EQuimper
Copy link
Member

When this happen ? When you click on a single element ?

@EQuimper EQuimper added the question Further information is requested label Oct 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants