Hi Daniel,
Thank you for sharing your observations.
In general, the value set via the DefaultValue configuration should be applied only when the field is nullable. With the latest version of the Kendo UI suite, the serialization has been slightly changed. Now the nullable property is serialized. The string by default is a nullable type and that is why its default value is not applied.
A GitHub issue is logged which aims to clarify whether the default value has to be always applied or it should be applied only under certain circumstance. The link to the issue could be found here:
https://github.com/telerik/kendo-ui-core/issues/5139
As a workaround on how to still apply the default value, you might do it manually. Namely:
1. Subscribe to the BeforeEdit event handler:
2. Apply the value to the relevant field:
Let me know in case any questions arise.
Kind regards,
Tsvetomir
Progress Telerik
Get
quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers.
Learn More.