appsmithorg / appsmithorg/appsmith

[Bug]: The colour code is duplicated when the any of the new colour code range is reversed from any existing value

Open
#10,266 0 comments 0 reactions 1 assignee Claimed by @somangshu View on GitHub
Bug Low Map Chart Widget Production Query Widgets & IDE Pod Widgets & Accelerators Pod Widgets Product
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

It is observed that in the map chart widget assume when there is a colour code range 2-3 and the new value is revered as 3-2 the colour code gets duplicated - Refer the video below

[![LOOM DEMO](http://cdn.loom.com/sessions/thumbnails/a94213c4493e4f01b1de0af92e36599b-00001.gif)](https://www.loom.com/share/a94213c4493e4f01b1de0af92e36599b)

### Steps To Reproduce

1.Launch appmsith app in release environment
2.Drag and drop map chart widget
3.Open Property pane
4.With the existing colour code value add the following new value {
"minValue": 3,
"maxValue": 2,
"code": "#E65100"
} and observe

### Environment

Release

### 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.