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

Fallback to form fields if autocomplete is not available #145

Open
TeoGoddet opened this issue Mar 22, 2021 · 2 comments
Open

Fallback to form fields if autocomplete is not available #145

TeoGoddet opened this issue Mar 22, 2021 · 2 comments

Comments

@TeoGoddet
Copy link

What i have now when not providing a google api key :
image
Doc says :
"However if this isn't possible the raw address is used and the user is responsible for breaking the address down into components."

Would it be possible to have the form field for each address components in this case ?

@banagale
Copy link
Collaborator

@TeoGoddet Thanks for posting your issue.

Can you provide some of the relevant code samples that show how you're using the library?

@TeoGoddet
Copy link
Author

I'm using {{ form.media }} and {{ form.address }}
with an address = AddressField() line in my model.
with a GOOGLE_API_KEY set to some ransom inexistent key.
But i have user who'd better enter the address themselves than using Gapis.
so i was wondering if there was a fallback possible ?

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

No branches or pull requests

2 participants