What and how to use the FileName from Properties of [FileInput]


I saw that there is a FileName Properties under [FileInput].

Is that means, I can get the file name after choose the file ?


In blazor how do I call or get the properties value?

What I currently did was in the server code,

I custom it to have 2 bindings.

Is this the right way how I going to get the File values (base64 URI) and File name to store into the Database table?

Hey @cllor80,

@bind-* is a two way binding and should be able to set not only get values. Please use official Microsoft Blazor documentation and/or forums for additional information.