View Full Version : Form jsonSubmit and Checkboxes with inputValue

14 Oct 2013, 4:50 AM
Hello guys,
I recognized that you fixed the problem with fields which got a submitValue: false property in a form which uses jsonSubmit: true in Ext 4.2.2.

But what about checkboxes and radioīs which are using an inputValue?
These fields are using Ext.form.field.Fieldīs method getModelData which does not pay attention if the field is using an inputValue. So checkboxes in forms which use jsonSubmit: true will not use their inputValue for the post. Is this appreciated behaviour?

Gary Schlosberg
18 Oct 2013, 9:18 AM
Are you saying that with jsonSubmit:true checkboxes and radios do not send their values? Seems like a bug to me. Do you have a test case for this?

18 Oct 2013, 9:53 AM
Hello Gary.
Thank you for your answer. They are submitting a boolean depending on their check state, but if I set a inputValue, I expect the JsonSubmit to use this value. But this is not happening. I will deliver a fiddle.