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] It's possible to add an empty action #76

Closed
ptrckbp opened this issue Aug 30, 2021 · 0 comments · Fixed by #118 or botpress/botpress#5517
Closed

[BUG] It's possible to add an empty action #76

ptrckbp opened this issue Aug 30, 2021 · 0 comments · Fixed by #118 or botpress/botpress#5517

Comments

@ptrckbp
Copy link
Contributor

ptrckbp commented Aug 30, 2021

Describe the bug
image
You can click add action without anything

To Reproduce
Steps to reproduce the behavior:

  1. Go to flow
  2. Create a node
  3. Click "+" sign then add action
  4. See action created

Expected behavior
Form validation should catch this. The Add action button should be disabled unless there is something to add.

Environment (please complete the following information):

  • OS: macOS
  • Browser Chrome
  • Browser Version Version 92.0.4515.131 (Official Build) (x86_64)
  • Botpress Version 12.25.0
  • NodeJS 12.13.0

Additional context
This will break the flow at the added location. Since it's an add function rather than an update function, I think in most cases people should notice it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant