Select theme:

FileInput (Angular)Link to this section

FileInput component properties and events.

The FileInput component is used to upload files as a part of a TemplateForm or Form components. The major difference with the Upload component is that files are uploaded as Data URI to be saved in a database table.

FileInput PropertiesLink to this section

NameTypeDefaultDescription
Namestring'fileInput' + index suffixUnique name of the upload.
AcceptstringnullAccepted files filter.
ValuestringFile contents as a Data URI. Will preview an image if set to an image Data URI.
Disabledboolean/expressionfalseIs FileInput disabled.
Visibleboolean/expressiontrueIs FileInput visible.

image

FileInput EventsLink to this section

NameTypeDefaultDescription
ChangeeventnullThe event argument is the file data as a Data URI string.
SelecteventnullThe event argument contains a single property file which is an instance of the File class and represents the selected file.

image

For more info about event actions please visit event actions in our documentation.

© 2016-2026 Radzen Ltd. All Rights Reserved.
Designed and developed with ❤️ in Radzen Blazor Studio.
IP Geolocation by DB-IP

Select theme: