uploadButton's Documentation/SDK Error

It seems like some of the expected capabilities are not available https://www.wix.com/corvid/reference/$w.UploadButton.html#value → supposedly you can ‘set’ uploadButtons’ values.

Syntax

get value(): Array<File>
set value(value: Array<File>): void

Maybe I’m just having bad luck with it?

let uploadButtonString = "#uploadButton1"

// Declare/initialize an array of Files, identical to that of the uploadButton
let tempArray = $w(uploadButtonString).value 

// Change the name of the first File in the array
tempArray[0].name = "TestOverwrite" 

// Set the value of the uploadButton to the new name for the firs File
$w(uploadButtonString).value = tempArray

The above code will give this error: “Wix code SDK error: Cannot set property value of UploadButton which has only a getter”
Clearly, this doesn’t add up, based on the Syntax shown above.

Anyone have any idea what’s going on here? I want to change the name of the file being upload via code… For example if a user uploads 53219380j01e1wu1oij10ud.jpg I want to change that to “FirstName_LastName.jpg”