It will be good to have a method in the Form API to get or set the Form model. For example, it could be:
var form = $("#form").getKendoForm();
var model = form.model();
When submitting a form, its data is being sent multiple times to the backend.
Check the example on ticket 1468553.
Once submitted, the form's data is sent multiple times to the backend
Form's data should be sent to the controller only once
Please support the plain TextBox as a valid editor within form configuration. There are times when I would like to put a number into a plain textbox and apply custom code to that rather than use a NumericTextBox.
EG:
{ field: "uploaded", label: "A Label", validation: { required: true }, colSpan: 3, editor: "TextBox" }
When a form creates a group it uses a fieldset. It would be great if this fieldset could have an id or class so it can be manipulated easily.
Whilst I could write code to find the Nth fieldset and modify it, it would be much cleaner to allow an id to be set on it.
It would be great if the form configuration allowed for items to be readonly or disabled during setup. There are times when perhaps some data should not be able to be changed.
I'm having to do tricks such as this for each field I want readonly.
$("#fileSize").data("kendoNumericTextBox").readonly(true);
$("#originalFilename, #title").kendoTextBox({ readonly: true });
Please document an example of editor as a function.
A simple example could be a password field: https://dojo.telerik.com/@GaloisGirl/ARIGOmUj
Reproduction
Expected result:
Actual result:
Fix:
Just add return before "validator.validate();" in method "validate".