mde / ejs

Embedded JavaScript templates -- http://ejs.co
Apache License 2.0
7.7k stars 841 forks source link

Form Submit Button now equating partial variables as intended #666

Closed fvlly closed 2 years ago

fvlly commented 2 years ago

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 commented 2 years ago

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.

fvlly commented 2 years ago

Dear Mde/Ejs,

You are certainly right, I fixed the issue by filtering data fetched for my Db, anyways thanks for your feedback .

On 2022. Apr 20., Wed at 2:08 Matthew Eernisse @.***> wrote:

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.

— Reply to this email directly, view it on GitHub https://github.com/mde/ejs/issues/666#issuecomment-1103320994, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOKA5INGPPYM22BXEMYQVL3VF5KH7ANCNFSM5TMU3WZA . You are receiving this because you authored the thread.Message ID: @.***>