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

Unable to search #5

Open
Jared-Dev opened this issue Apr 12, 2021 · 5 comments
Open

Unable to search #5

Jared-Dev opened this issue Apr 12, 2021 · 5 comments

Comments

@Jared-Dev
Copy link

Moving the pinned location works fine. However when I attempt to search for an address it gives me an undefined error when trying to access lat. All relevant versions should be at their latest since this is a brand new project.

image

@ebox86
Copy link

ebox86 commented Sep 7, 2021

having the same issue, any update on this?

@ebox86
Copy link

ebox86 commented Sep 7, 2021

looks like this fork might have the solution: aadgrant@53df165

Why no update on this recently? Is this project abandoned?

@CalebYeboah27
Copy link

CalebYeboah27 commented May 10, 2022

The issue with the inability to search seems to come from a required input method. The browser console gives the below warning when trying to use the search field.

The input component for type "geopoint" is missing a required ".focus()" method

The link above provides some guidelines for a fix to the issue.

@ebox86
Copy link

ebox86 commented Jun 2, 2022

The issue with the inability to search seems to come from a required input method. The browser console gives the below warning when trying to use the search field.

The input component for type "geopoint" is missing a required ".focus()" method

The link above provides some guidelines for a fix to the issue.

The link where? I dont see a link with guidance on how to fix. Can you please provide a link if you have found a workaround?

@CalebYeboah27
Copy link

My bad I skipped the link before posting. Here, please:

https://www.sanity.io/help/input-component-missing-required-method

https://www.sanity.io/docs/custom-input-widgets

https://res.cloudinary.com/calebyeboah/image/upload/v1654194192/Error_-_required_focus_method_fqdyzl.png

Currently, I do not get the error message in some instances when I choose from a list of suggested locations provided to me by OpenStreetMap after I type in my search term in the search box. However, the above warning seems to persist in the console.

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

3 participants