I.e., this field:
Currently, after cloning (duplicating) a Form that contains a Data Grid, it’s very awkward to create a new item template for the new Form’s Data Grid.
If you were building a Form from scratch, then double-clicking in the Grid’s first row would create an empty template, a Form whose outermost container is a DataRowPanel. But with a cloned Data Grid, that doesn’t work, because the item_template field is already filled. Double-clicking it “merely” drills down into the existing template.
You can create a new Form, for use as an item template, but it will use a different type of outer container, and so it will not play well with the Data Grid. I had to hack the new item template’s .yaml file and manually change the outermost container, to match one from another item template.
But that only works because I’m using Anvil’s Git integration, to get a local copy of the .yaml file, for local editing. For a “regular” developer, using only the IDE, there’s no way to hack it.
Why bother to clone an existing Form, if such obstacles exist? Easy: all the other things on the Form, including code, that would otherwise have to be manually copied or re-created.