volosied commented on PR #634:
URL: https://github.com/apache/myfaces/pull/634#issuecomment-1777937812
If I removed the code to just
```
appendIssuingItem: function (item, targetBuf) {
// if triggered by a Button send it along
if (item && item.type) {
// do not append if unselected
if ((item.type == "checkbox" || item.type == "radio")
&& !item.checked) {
return;
}
//buttons not always have a name unlike inputs
targetBuf.append(item.id || item.name, item.value);
}
},
```
then I see the form sent as an array.

Looks like it's caused by the preprocessed data also containing the issuing
element?

Otherwise, with the existing checks, only true is sent:

--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]