### Bug report The form is not serialized correctly when declared in the Template component ### Reproduction of the problem 1. Open the following [Telerik REPL](https://netcorerepl.telerik.com/QyYGbdkB32Efau3732). 2. Notice that the Form component declared in the Template is not serializing its options correctly. ### Current behavior The Form is not serialized correctly when declared in the Template component. ### Expected/desired behavior The Form should be serialized correctly when declared in the Template component. ### Environment * **Kendo UI version:** 2024.1.130 * **Browser:** [all]