Skip to content

Commit 0c8a68b

Browse files
IvanDanchevIvanDanchev
authored andcommitted
docs(FileSelect): add info about Name Html encoding
1 parent e268460 commit 0c8a68b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/fileselect/events.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ The `FileSelectFileInfo` type contains the following properties:
2727
Property | Type | Description
2828
---------|----------|---------
2929
`Id` | `string` | The unique file identifier.
30-
`Name`|`string` | The file name.
30+
`Name`|`string` | The **encoded** file name, including the extension. One method to decode it is [`System.Net.WebUtility.HtmlDecode()`](https://learn.microsoft.com/en-us/dotnet/api/system.net.webutility.htmldecode). The file can be renamed in the [`OnSelect`](#onselect) handler.
3131
`Size` |`long` | The file size in bytes.
3232
`Extension` |`string` | The file extension.
3333
`InvalidExtension` | `bool` | A Boolean flag that shows if the file type is invalid.

0 commit comments

Comments
 (0)