Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Allow space before 'export default{}' #33984

Open
1 task done
ApekshaBhosale opened this issue Jun 5, 2024 · 2 comments · May be fixed by #34703
Open
1 task done

[Bug]: Allow space before 'export default{}' #33984

ApekshaBhosale opened this issue Jun 5, 2024 · 2 comments · May be fixed by #34703
Assignees
Labels
Bug Something isn't working FE Coders Pod Issues related to users writing javascript in appsmith JS Objects Issues related to JS Objects Medium Issues that frustrate users due to poor UX

Comments

@ApekshaBhosale
Copy link
Contributor

Is there an existing issue for this?

  • I have searched the existing issues

Description

In JS object, if one adds an empty space before "export default {}", it throws an error saying
Start object with export default at: undefined. We should allow users to add space before object starts
image

Steps To Reproduce

  1. Create JS object
  2. Enter before "export default"
  3. throws error

Public Sample App

No response

Environment

Production

Severity

Low (Cosmetic UI issues)

Issue video log

No response

Version

CLoud

@ApekshaBhosale ApekshaBhosale added Bug Something isn't working Needs Triaging Needs attention from maintainers to triage labels Jun 5, 2024
@Nikhil-Nandagopal Nikhil-Nandagopal added Low An issue that is neither critical nor breaks a user flow Production labels Jun 5, 2024
@ApekshaBhosale ApekshaBhosale added JS Objects Issues related to JS Objects and removed Low An issue that is neither critical nor breaks a user flow Production Needs Triaging Needs attention from maintainers to triage labels Jun 5, 2024
@github-actions github-actions bot added the FE Coders Pod Issues related to users writing javascript in appsmith label Jun 5, 2024
@Nikhil-Nandagopal Nikhil-Nandagopal added the Medium Issues that frustrate users due to poor UX label Jun 5, 2024
@zoispyridi
Copy link

Hello, I am interested in picking up this issue as part of my first open source contribution. I am a student contributing as an assignment in university so any guidance as to where to start would be much appreciated. Thank you!

@PrasadMadine
Copy link

Hello @ApekshaBhosale , I'm picking this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working FE Coders Pod Issues related to users writing javascript in appsmith JS Objects Issues related to JS Objects Medium Issues that frustrate users due to poor UX
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants