ChatFileAttachmentSettingsTagHelper
Example
Razor
<file-attachment>
<restrictions />
</file-attachment>
ChildTags
| Tag Name | Details |
|---|---|
| restrictions | ChatFileAttachmentRestrictionsSettingsTagHelper |
Attributes
| Attribute | Type | Description |
|---|---|---|
| accept | String | The accept attribute for the file input, specifying which file types are allowed. |
| enabled | Boolean | Enables or disables the configuration. |
| fill-mode | ButtonFillMode | The fill mode for the button (e.g., "flat", "solid", "outline"). |
| icon | String | The icon name for the file select button. |
| multiple | Boolean | Whether to allow multiple file selection. |
| rounded | Rounded | The border radius for the button (e.g., "small", "medium", "large", "full"). |
| size | ComponentSize | The size of the button (e.g., "small", "medium", "large"). |
| theme-color | ThemeColor | The theme color for the button (e.g., "base", "primary", "secondary"). |