appsmithorg / appsmithorg/appsmith

[Bug]: Unexpected behaviour with navigateTo

Open
#8,772 3 comments 0 reactions 1 assignee Assigned to @yaldram View on GitHub
Action Selector Bug High Javascript Product Production
Dominant language
TypeScript
Stars
40.9k
Forks
4.8k
Avg merge
1d 22h
Merged PRs (30d)
45

Description

### Is there an existing issue for this?

- [X] I have searched the existing issues

### Current Behavior

Unexpected behavior when using `navigateTo` in the property pane.

https://user-images.githubusercontent.com/23132741/138678349-1380d740-ee96-4209-a75d-0783c3940604.mov

### Steps To Reproduce

1. Open Property Pane for a widget.
2. Click on `OnClick` dropdown.
3. Select `navigateTo` from the options.
4. try adding string variable to route to `navigateTo(variableName.replace("",""))`
5. See the error

### Environment

Production

### Version

Cloud

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.