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]: Incorrectly calls "eventName" on template changes; it should be appsmith.triggerEvent("onResetClick"); instead. #37395

Open
1 task done
phennapa-saeliw opened this issue Nov 15, 2024 · 2 comments
Assignees
Labels
Bug Something isn't working Community Reported issues reported by community members Custom Widgets For all issues related to the custom widget project Inviting Contribution Issues that we would like contributions to Low An issue that is neither critical nor breaks a user flow Needs Triaging Needs attention from maintainers to triage Production Widgets & Accelerators Pod Issues related to widgets & Accelerators Widgets Product This label groups issues related to widgets

Comments

@phennapa-saeliw
Copy link
Contributor

Is there an existing issue for this?

  • I have searched the existing issues

Description

Example code template that is prepared when switching to something else (Vanilla JS, React and Vue) has an incorrect function calling name. It only occurs when the template is changed, but the code that is provided as the default is normal.

Steps To Reproduce

  1. Drag and drop a Custom widget
  2. Click on Edit Source button to go to source editor.
  3. When switching to another template, it’s found that the code calling incorrect eventName, which should be appsmith.triggerEvent("onResetClick"); not is appsmith.triggerEvent("onReset");

Public Sample App

No response

Environment

Production

Severity

Low (Cosmetic UI issues)

Issue video log

https://jam.dev/c/13359e04-04bb-4cc3-9131-403652a89ceb

Version

Cloud - v1.49.0-SNAPSHOT

@phennapa-saeliw phennapa-saeliw added Bug Something isn't working Needs Triaging Needs attention from maintainers to triage labels Nov 15, 2024
@Nikhil-Nandagopal Nikhil-Nandagopal added Community Reported issues reported by community members Low An issue that is neither critical nor breaks a user flow Production labels Nov 15, 2024
@Nikhil-Nandagopal Nikhil-Nandagopal added the Custom Widgets For all issues related to the custom widget project label Nov 15, 2024
@github-actions github-actions bot added Widgets Product This label groups issues related to widgets Widgets & Accelerators Pod Issues related to widgets & Accelerators labels Nov 15, 2024
@rahulbarwal rahulbarwal added the Inviting Contribution Issues that we would like contributions to label Nov 15, 2024
@adityarao97
Copy link

Hi @phennapa-saeliw is this issue open? If so, i'd like to contribute to it. Thanks.

@carinanfonseca
Copy link
Contributor

Hi @adityarao97, thanks for your interest in contributing! Please feel free to go ahead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Community Reported issues reported by community members Custom Widgets For all issues related to the custom widget project Inviting Contribution Issues that we would like contributions to Low An issue that is neither critical nor breaks a user flow Needs Triaging Needs attention from maintainers to triage Production Widgets & Accelerators Pod Issues related to widgets & Accelerators Widgets Product This label groups issues related to widgets
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants