Get Filename with FileInput


When i use the FileInput component I can see the file name as a tooltip after I input a file but how do I get this file name to save to the db? I have tried to access this property via the FileinputChange event but this throws an error 'cannot convert from method group to event callback'

What am i missing?



Hi @johnmu,

This isn't currently supported. The Value of the FileInput is the base64 encoded DATA URI of the selected file. It does not contain the file name. You will need the FileUpload component if you want to get the original file name.