When we switch the fileDataType property of the Filepicker Widget, the files property entries do not update their data property values. This causes the fileDataType and the actual data format to go out of sync and the Filepicker loses data integrity.
Steps To Reproduce
Add a FilePicker Widget
Upload a file
Check the Filepicker1.fileDataType and Filepicker1.files[0].data format, they will both be base64 by default
Change the fileDataType from the property pane
Filepicker1.fileDataType and Filepicker1.files[0].data format, are no longer is sync
Is there an existing issue for this?
Current Behavior
When we switch the
fileDataType
property of the Filepicker Widget, thefiles
property entries do not update theirdata
property values. This causes thefileDataType
and the actual data format to go out of sync and the Filepicker loses data integrity.Steps To Reproduce
Filepicker1.fileDataType
andFilepicker1.files[0].data
format, they will both bebase64
by defaultfileDataType
from the property paneFilepicker1.fileDataType
andFilepicker1.files[0].data
format, are no longer is syncEnvironment
Production
Version
Cloud