Add name property to q-btn and post it in q-form #16163
Answered
by
rstoenescu
JTrotta
asked this question in
Ideas / Proposals
-
|
Using standard tag and a q-btn as submit button, when the form is post among all the form keys there is also the q-btn name.Instead using tag and a q-btn as submit button, when the form is post among all the form keys there isn't the q-btn name. Having the name of the button at action side is useful to determine which button has been pressed. |
Beta Was this translation helpful? Give feedback.
Answered by
rstoenescu
Aug 7, 2023
Replies: 2 comments 1 reply
-
|
An additional property is not needed since you can simply add the name attribute to your buttons. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
rstoenescu
-
|
please make a codepen with both situations |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
An additional property is not needed since you can simply add the name attribute to your buttons.