SwiftUI: Rename DocumentGroup files

Simple question: How do I set the name for a new file.

Every document is written as "Untitled" on top of the page (Untitled 39 for example), and every document is saved as Untitled.

This is a very sub-par experience. I follow the same example than Pages, and the first page they have is actually setting up the kind of document the person wishes to have from models, and it uses this title as document title (Empty Book model would lead to Empty Book 39 on the 39th empty book)

Even better, the document title (Untitled) is written on top of the page, but I don't know of a way to actually interact with that name and having a tap that would rename it to something else.

If I want to do some of these, what is the best way?
Same issue here. Can't believe it was forgotten to be actually able to rename a document file with a DocumentGroup.

I'm using Xcode Version 12.2 beta 4

Even if I create a new iOS app with the Document App template I can't rename the file. It is working though when I crate a new Document App for macOS. There it lets me edit the filename in the top bar.
SwiftUI: Rename DocumentGroup files
 
 
Q