appsmithorg / appsmithorg/appsmith
[Bug]: Table widget breaks when table name is renamed to Number
- 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
2 issues are observed when renaming the table.
1. Table breaks when it is renamed to a number.
2. When user renames the table to 2 consecutive special characters it successfully renames as '__'
https://loom.com/share/9930dff46f2141f7bf1167256a8e2566
### Steps To Reproduce
1. Drag and drop table widget
2. In property pane rename the table to number and observe.
2a. In property pane rename the table to 2 consecutive special characters and observe.
**Expected behavior:** Table must not break when renamed to just number or must show an error message that it is not allowed.
### Environment
Production
### Version
Cloud
Contributor guide
Research direction
Start by reproducing the table widget issue from the property pane using a numeric name and two consecutive special characters. Trace the table widget's rename handling and verify that numeric names do not break the table, while invalid names show an error instead of being normalized to '__'.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100