Create a form without container


#1

This code was valid in version 7.0.2

https://snippet.dhtmlx.com/ng3coflx

But after 7.0.3 is not.

To create a form without a root node is useful in optimus. Other elements like Layout and Toolbar allow this. Is this a bug or I can’t do this in optimus?:

export default class Content extends View {
  init() {
	return this.form = new dhx.Form(null, {
		rows: [{
			id: "name",
			type: "text",
			value: "Hello World"
		}]
	});
  }
}

#2

Sorry. It seems I have duplicated an existing entry.


#3

It’s ok.
Anyway, thank you for your report. The porblem is confirmed and fixed in the latest update (7.1.1).
Please, try to get the latest build to check the fix.