appsmith icon indicating copy to clipboard operation
appsmith copied to clipboard

[Bug]: Autocomplete won't suggest appsmith.geoLocation.currentLocation until appsmith.geolocation.watchPosition() is run

Open bharath31 opened this issue 3 years ago • 0 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Description

I'm not able to use appsmith.geolocation.currentPosition on the JS Object editor or on the JS editor on the right pane unless I run appsmith.geoLocation.currentLocation at least once. This is confusing as the autocomplete results should be consistent across scenarios.

Steps To Reproduce

  1. Open the JS Object editor, try typing appsmith.geolocation.currentPosition and notice that you won't be able to use it
  2. Run appsmith.geoLocation.currentLocation once
  3. Try typing appsmith.geolocation.currentPosition and you will now be able to successfully use it

https://user-images.githubusercontent.com/17562726/183604553-336dfd04-732c-4cfd-86fc-82e40c753b78.mp4

Public Sample App

https://app.appsmith.com/app/testbed/page1-62f0b9e9b2f8027edfbf9008

Version

Cloud

bharath31 avatar Aug 09 '22 08:08 bharath31

Stats

Stat Values
Reach 875
Effort (months) 0.04

bharath31 avatar Aug 11 '22 12:08 bharath31