You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For `SelectionMode="DateInputSelectionMode.Range"`:
56
+
For `SelectionMode="DateInputSelectionMode.Range"`, the old `Dates` / `DatesChanged` parameters are replaced by the unified `Value` / `ValueChanged`. Use an array or `IReadOnlyList<T>` as `TValue`:
53
57
54
-
-`ValueChanged` -> `ValuesChanged`
58
+
-`@bind-Dates` -> `@bind-Value` (with `TValue="DateTime[]"` or `TValue="IReadOnlyList<DateTime>"`)
@@ -61,11 +66,23 @@ For non-range `DatePicker` usage:
61
66
62
67
### Select multiple mode
63
68
64
-
For `<Select Multiple ...>`:
69
+
For `<Select Multiple ...>`, the old `SelectedValues` / `SelectedValuesChanged` parameters are replaced by the unified `Value` / `ValueChanged`. Use an array or `IReadOnlyList<T>` as `TValue`:
65
70
66
-
-`Value` -> `Values`
67
-
-`ValueChanged` -> `ValuesChanged`
68
-
-`@bind-Value` -> `@bind-Values`
71
+
-`@bind-SelectedValues` -> `@bind-Value` (with `TValue="string[]"` or `TValue="IReadOnlyList<string>"`)
- For custom template variable names, same rule applies: `row.Property` -> `row.Item.Property`
94
111
112
+
The same rule also applies to action handlers in `DataGridEntityActionsColumn` and `DataGridCommandColumn` (such as `Clicked`, `Visible`, and `ConfirmationMessage`):
Important: This change applies to DataGrid template contexts only (`DisplayTemplate` in `DataGridColumn`, `DataGridEntityActionsColumn`, etc.). In non-DataGrid templates (for example `TreeView``NodeContent`), `context` is already the item and should remain unchanged (for example `DeleteMenuItemAsync(context)`).
96
118
97
119
### 5.3 Width type change (string -> Fluent sizing)
@@ -132,3 +154,4 @@ Width="@BlazoriseFluentSizingParse.Parse(column.Width)" // column.Width is a str
0 commit comments