I have a Switch widget within a form control
The switch is bound to form item (StdeuntAcepted) which is a mandatory bool value, SQL field setting is configured as a non-nullable bit
The field values shall be submitted as true or false.
Hello, I did not see this in any of the examples, or I just missed it. With this control, are you able to use an editor template for the fields you add? A lot of my existing forms, I use an editor template for the fields, but I don't see that option here. For example, I have a editor template defined for use of Date/Time fields that has the settings defined that I want to use throughout the website.
Can this be done using the form component?
Regression introduced in 2024.4.1112.
The gutter values are ignored:
$("#exampleform").kendoForm({
formData: {
FirstName: "John",
LastName: "Doe",
Email: "john.doe@email.com",
Country: "1",
City: "Strasbourg",
AddressLine: ""
},
layout: "grid",
grid: {
cols: 2,
**gutter: 50**
},
items: [
{
type: "group",
label: "Personal Information",
layout: "grid",
grid: { cols: 1, **gutter: 50** },
//...
The gutter values are applied to the Form.
Workaround:
Set the values through CSS:
<style>
/*columns gap */
.k-form .k-form-layout {
column-gap: 50px;
}
/*rows margin*/
.k-form-md .k-form-field, .k-form-md .k-form-buttons {
margin-top: 50px;
}
</style>