appsmith
appsmith copied to clipboard
[Bug]: Autocomplete won't suggest appsmith.geoLocation.currentLocation until appsmith.geolocation.watchPosition() is run
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
- Open the JS Object editor, try typing
appsmith.geolocation.currentPositionand notice that you won't be able to use it - Run
appsmith.geoLocation.currentLocationonce - Try typing
appsmith.geolocation.currentPositionand 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
Stats
| Stat | Values |
|---|---|
| Reach | 875 |
| Effort (months) | 0.04 |