AddressField
FreeA recipient field for e-mail: every address becomes a chip. Type or paste a list, pick from suggestions that come from your data source, double-click a chip to edit it, and see at once which addresses are not valid.
Example

Parameters
| Parameter | Type | Description |
|---|---|---|
AllowDuplicates | bool | Allows the same address twice (default false). |
AllowInvalid | bool | Keeps addresses that are not valid as red chips (default true). When false they stay in the text box with an error. |
Class | string | Extra CSS classes added to the root element. |
DebounceMilliseconds | int | |
Disabled | bool | Disables interaction. |
ErrorText | string | An error text from the form, shown under the field. |
HelperText | string | Hint shown below the field. |
Label | string | Visible label text (charts: accessible name; IconButton: accessible name and tooltip). |
MaxItems | int? | The most addresses allowed. |
MaxSuggestions | int | The most suggestions shown (default 8). |
MinChars | int | How many characters are typed before suggestions are asked for (default 1). |
Placeholder | string | Placeholder shown when the field is empty. |
ReadOnly | bool | Shows the value but does not allow changes. |
Style | string | Inline style added to the root element. |
SuggestionsProvider | Func<string, CancellationToken, Task<IEnumerable<AddressSuggestion>>> | Returns suggestions (address and optional name) for the typed text. |
Validator | Func<string, bool> | Replaces the built-in check of an address. |
Values | IReadOnlyCollection<string> | The addresses, each as Name <address> or address. Two-way. |
Events
| Event | Type | Description |
|---|---|---|
InvalidCountChanged | EventCallback<int> | Raised when the number of chips that are not valid changes. |
ValuesChanged | EventCallback<IReadOnlyCollection<string>> | Raised when the chosen items change. |
Package
AddressField is part of RayCraft Free. Package: RayCraft.Blazor. It comes from nuget.org. See Getting started.
Send feedbackVersion 1.0.3