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

Form Submit Button now equating partial variables as intended #666

Closed
fvlly opened this issue Apr 14, 2022 · 2 comments
Closed

Form Submit Button now equating partial variables as intended #666

fvlly opened this issue Apr 14, 2022 · 2 comments

Comments

@fvlly
Copy link

fvlly commented Apr 14, 2022

Hello, I'm trying to add new tasks to my projects/ via my taskCard partials individually based on taskStates(passed as variables), however, tasks are added everywhere, even after giving the submit a button a value="<%=taskstate %>", which equates on to the first partial, any help would be appreciated.
UI
templates
express

@mde
Copy link
Owner

mde commented Apr 20, 2022

This is almost certainly an issue in your application code, and not a problem with the EJS library. The only suggestion I have is that you reduce your code down to the minimal working example, and then add things until it breaks. I am closing this issue, since it's not a problem with EJS. If you can provide a minimal breaking example in the EJS library, please feel free to reopen.

@mde mde closed this as completed Apr 20, 2022
@fvlly
Copy link
Author

fvlly commented Apr 20, 2022 via email

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

No branches or pull requests

2 participants