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

fix: set exposedVariables.value to "" for TextArea components fixes Issue: #2454 #2486

Merged

Conversation

KaviiSuri
Copy link
Contributor

@KaviiSuri KaviiSuri commented Mar 10, 2022

This PR fixes #2454 by settings the exposedVariables.value for TextArea to an empty string.

@CLAassistant
Copy link

CLAassistant commented Mar 10, 2022

CLA assistant check
All committers have signed the CLA.

Copy link
Collaborator

@sherfin94 sherfin94 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @KaviiSuri , your change unfortunately does not resolve the issue. When a TextArea is dragged in, it still is empty instead of showing the default value.

My suggestion is to change the default value of the exposed variable value to 'ToolJet is an open-source low-code platform for building and deploying internal tools with minimal engineering efforts 🚀' instead of ""

@KaviiSuri
Copy link
Contributor Author

Hey @sherfin94 , thanks for the correction,
I've implemented it.

@Navaneeth-pk
Copy link
Collaborator

@KaviiSuri please revert the changes to package and package lock files.

@Navaneeth-pk Navaneeth-pk merged commit 5f1ac2b into ToolJet:develop Mar 13, 2022
arpitnath pushed a commit that referenced this pull request Mar 17, 2022
#2454  (#2486)

* fix: set `explosedVariables.value` to "" for TextArea components

* changed default text to correct one

* reverted package-lock.json and server/package-lock.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Default value is not displayed on Textarea widget.
4 participants