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

The "create new variable" button does not appear when results match name of new variable #1792

Closed
tgdn opened this issue Sep 13, 2024 · 0 comments

Comments

@tgdn
Copy link
Contributor

tgdn commented Sep 13, 2024

Describe the bug
The "create new variable" button does not appear when results match name of new variable.

To Reproduce
Steps to reproduce the behavior:

  1. Create a new Typebot
  2. Open the variables drawer
  3. Create a new variable "maet"
  4. Attempt to create a new variable "ae"
  5. Since the name of the variable "ae" matches "maet", it is impossible to create a new variable with the name "ae"

This is an issue because affiliate parameters may not be updated, and thus the name of the variable may not be chosen in advance.

⚠️ It is actually possible to press enter and create the variable, but it is IMHO not very user-friendly. It would make more sense to display the "+" button to click to create the variable.

Expected behavior
Render the "+" button to create a new variable whenever the user has typed something in the variable search input.

@baptisteArno baptisteArno linked a pull request Sep 16, 2024 that will close this issue
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 a pull request may close this issue.

1 participant