WABetaInfo, a website that tracks WhatsApp, tested the feature by selecting a document within the chat share sheet and a caption bar...
WhatsApp allows its users to forward images without losing the caption, but this can be a little tricky to figure out sometimes....