Skip to content

[Bug]-[266]:Google Sheet column name with a space shows up as an unexpected identifier error when bound #12086

Open
@ramsaptami

Description

Is there an existing issue for this?

  • I have searched the existing issues

Description

Widget binding using a Google Sheet column name that has a space throws an unexpected identifier error. The data is rendered correctly on a table widget which reads spaces on column names but other widgets like list/select do not recognize the space even though autocomplete suggestion contains column names with space.

LOOM DEMO

Steps To Reproduce

  1. Go to app on https://release.app.appsmith.com/applications/62385770e2e3e942f7cdb921/pages/6239785aa1037840b6dc13be/edit
  2. Observe the error displayed on the list widget

OR

  1. Use a Google Sheet which has column names with spaces and generate a CRUD
  2. Use a list widget to try and display this data using autocomplete suggestion and observe the error when a column with spaces is present.

Public Sample App

https://release.app.appsmith.com/applications/62385770e2e3e942f7cdb921/pages/6239785aa1037840b6dc13be/edit

Version

Cloud

Metadata

Labels

BugSomething isn't workingHighThis issue blocks a user from building or impacts a lot of usersList WidgetIssues related to the list widgetNeeds automationIssues that needs automated testsProductionWidgets & Accelerators PodIssues related to widgets & AcceleratorsWidgets ProductThis label groups issues related to widgets

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions