Enum MBItemValidation
A helper to determine how a MBSelect<TItem> or MBRadioButtonGroup<TItem> should handle an intial bound value not matching elements in the value list.
MBCascadingDefaults has a default of Exception
Namespace: Material.Blazor
Assembly: Material.Blazor.dll
Syntax
public enum MBItemValidation
Fields
Name | Description |
---|---|
DefaultToFirst | Sets the bound value to the first item in the list. |
Exception | Throws an exception. This is the MBCascadingDefaults default. |
NoSelection | Does nothing, leaving the bound value as it is. |