VOOZH about

URL: https://havit.blazor.eu/components/HxFilterForm

⇱ HxFilterForm | HAVIT Blazor Bootstrap - Free components for ASP.NET Core Blazor


HAVIT Blazor

HxFilterForm #

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

Value

API #

Parameters #

Name Type Description
ChildContent RenderFragment<TModel> Content of the component.
Id string
Model TModel
ModelChanged EventCallback<TModel>

Event callbacks #

Name Type Description
OnChipsUpdated EventCallback<ChipItem<>>

Methods #

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
An unhandled error has occurred.