PromptBoxFileSelectButtonSettingsTagHelper
Example
Razor
<file-select-button>
<icon />
<restrictions />
</file-select-button>
ChildTags
| Tag Name | Details |
|---|---|
| icon | PromptBoxFileSelectButtonIconSettingsTagHelper |
| restrictions | PromptBoxFileSelectButtonRestrictionsSettingsTagHelper |
Attributes
| Attribute | Type | Description |
|---|---|---|
| accept | String | Defines the file types that can be selected using the file input. |
| enable | Boolean | Enables or disables the configuration. |
| enabled | Boolean | Enables or disables the configuration. |
| fill-mode | ButtonFillMode | Defines the fill mode for the File Select button. |
| icon | String | Defines the font icon name for the File Select button.Set this option to an icon descriptor such as { name: "gear", variant: "outline" }. The variant can be outline, solid, or duotone; it applies to SVG rendering and is ignored for font icons. |
| multiple | Boolean | Enables multiple file selection. |
| rounded | Rounded | Defines the border radius for the File Select button. |
| size | ComponentSize | Defines the size of the File Select button. |
| theme-color | ThemeColor | Defines the theme color for the File Select button. |