getValue()
returns the current value of a SimpleVault control
getValue(): object[];
Returns:
An array with the current value of the control.
Example
const value = form.getItem("simplevault").getValue();
/* =>
[
{
"id": "file1",
"name": "file_name1.png",
"status": "uploaded",
},
{
"id": "file2",
"name": "file_name2.png",
"status": "uploaded",
}
]
*/
The returned array contains objects that may have the properties listed in the value configuration property.