Edit form derived from HxModelEditForm with support for chip generators.
Used in HxListLayout #
See HxListLayout demo with its filter and chips
to see the real usage of the HxFilterForm
.
Standalone demo #
HxFilterForm
component has to be kept rendered to work properly with
HxChipList
.
Beware of
HxOffcanvas
where you have to set
RenderMode="OffcanvasRenderMode.Always"
to prevent removing the component from rendering when offcanvas is closed.
Values in model
- Text1: initial value
- Text2:
- Text3: 5
Chips
Name |
Type |
Description |
ChildContent |
RenderFragment<TModel> |
Content of the component. |
Id |
string |
|
Model |
TModel |
|
ModelChanged |
EventCallback<TModel> |
|
Method |
Returns |
Description |
RemoveChipAsync(ChipItem chipToRemove) |
Task |
Tries to remove a chip.
Execution is postponed to OnAfterRender, so this method cannot have a return value. |
UpdateModelAsync() |
Task |
|