How input of document-fragment uses JavaScript to write content

I don"t know how to start the title. < ("^") >
how can input, in document fragments created by document.createDocumentFragment modify the content in input through JavaScript?

if you modify it directly through the value property, the prompt "Please enter a user name" will appear and the contents of the input will not be recognized.

Menu