Closed mhevery closed 1 year ago
is this a bug of FormData? we are supposed to be doing the right things here, not sure how we can solve this
I think FormData is right. The thing which needs to be done is to append the key/value of the input causing the submission.
In abov example there are two buttons. Only one needs to be appended when triggered.
On Fri, Mar 17, 2023 at 6:28 AM Manu MA @.***> wrote:
is this a bug of FormData? we are supposed to be doing the right things here, not sure how we can solve this
— Reply to this email directly, view it on GitHub https://github.com/BuilderIO/qwik/issues/3406#issuecomment-1473846298, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAA3KT447GSFLXYGL2OSBRDW4RRI3ANCNFSM6AAAAAAV57WAIY . You are receiving this because you authored the thread.Message ID: @.***>
can you provide a repo case in stackblitz so i can debug it?
But there is another issue in SB that prevents this from working. 🤦
Which component is affected?
Qwik Runtime
Describe the bug
In the above code when clicking 👍 (or 👎) the submitted form should contain
vote=up
(orvote=down
).This is the case for native submission when JS is disabled.
In emulated submission with JS enable the button value is not sent (is missing)
Reproduction
stackblitz has problems with actions.
Steps to reproduce
System Info
Additional Information
No response