appsmith icon indicating copy to clipboard operation
appsmith copied to clipboard

[Bug]: Dynamic table cell select options dont appear in new row select

Open darkqq opened this issue 1 year ago • 2 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Description

When i dynamically add select options (from api response) in table cell they do not appear in new row select cell. Works only with statically added options.

Steps To Reproduce

  1. Create table.
  2. Change cell type to 'select'.
  3. Set options to something like JSDropdownObject.getSelectOptions() (returns valid format options list)
  4. Click on '+ Add new row'.
  5. There are no select options in dropdown.

Public Sample App

No response

Environment

Production

Issue video log

No response

Version

Self Hosted 1.9.12

darkqq avatar May 04 '23 15:05 darkqq

I have been facing the same issue

shantanu1singh avatar May 05 '23 11:05 shantanu1singh

Select in table, new row.json.zip I have made a minimal example and exported it, it uses the mock databases users and recreates the description above. Please let me know if i can assist further. /Esben

esbenab avatar May 12 '23 21:05 esbenab

Just checking in - has this been triaged yet?

shantanu1singh avatar May 26 '23 11:05 shantanu1singh

Folks this is working for me @darkqq @shantanu1singh @esbenab

The only scenario where it doesn't work is when the table data is empty. In that case, please turn off same options in new row and you can add the query again.

Here's a video describing this - https://www.loom.com/share/d99bc59e98984823acb151fdb8e2b24c

I will update the bug to reflect the right information

dilippitchika avatar May 29 '23 05:05 dilippitchika

Thank you! The workaround works! i was on a 4 month old version which lacked the options in the video got it all updated and everything is good now.

Thank you for your awesome work!

esbenab avatar May 29 '23 20:05 esbenab