Hi @k.szwej,
please have a look into useDocumentPathForInput like mentioned in that topic(Customize Fields in Repeat)
useDocumentPathForInput