appsmithorg / appsmith

Platform to build admin panels, internal tools, and dashboards. Integrates with 25+ databases and any API.
https://www.appsmith.com
Apache License 2.0
34.47k stars 3.72k forks source link

[Bug]: In Single Select Tree Widget, selected value does not clear on clicking the cross button. #16264

Open jsartisan opened 2 years ago

jsartisan commented 2 years ago

Is there an existing issue for this?

Description

When we clear a value in a single select tree widget, the selected value does not become null or empty, it defaults back to the default value. Ideally, the selected value should become empty.

Steps To Reproduce

  1. Drop single select tree widget
  2. Allow clear selection and make sure you have the default value.
  3. Now, try clearing the value, you will notice that the selected value defaults back to the default value instead of the empty value . Check the video attached to reproduce.

https://user-images.githubusercontent.com/6636360/186369618-f1fc8a7b-3084-41b0-887c-e757a4b03c23.mov

Public Sample App

No response

Version

v1.7.14

jsartisan commented 2 years ago

cc: @laveena-en