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.76k stars 3.76k forks source link

[Bug]: New Row Select Options Are Not Supporting Dynamic Data If TableData is Empty #23470

Open ame-appsmith opened 1 year ago

ame-appsmith commented 1 year ago

Is there an existing issue for this?

Description

When the table for which a Select column is populated dynamically contains no data, and a user tries to add a new row, the select options are not displayed. However, this works fine if the Table already contains at least one row.

Front thread

Steps To Reproduce

  1. Add a Table widget to the canvas and bind it to a query.
  2. Allow adding a new row, make the columns editable, and set one of the columns to be of type select.
  3. Bind the options of the select column to another query.
  4. Ensure that the query that populates the table does not return any data and try to add a new row. Note that no select options are shown for the column.

Public Sample App

No response

Environment

Production

Issue video log

https://www.loom.com/share/f4b09c520cfb4d15b362775382121e06

Version

Appsmith v1.9.19-SNAPSHOT

Front logo Front conversations

somangshu commented 1 year ago

@momcilo-appsmith @keyurparalkar do you know if this is expected? What should be the case here?

ame-appsmith commented 1 year ago

Another user is facing this issue.

prateek2195 commented 1 year ago

Facing the same issue. https://www.loom.com/share/d77d27d69e13461b99fe13e06efe6f69?sid=7c13f8a8-0201-4eb3-a231-a1f43d2b1b27

dpro-shc commented 9 months ago

bump, facing this issue too

tmerrill-BCOE commented 2 months ago

Also facing this issue