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

Filter

Values

Values in filter

  • Text1: initial value
  • Text2:
  • Number1: 5

Values in model

  • Text1: initial value
  • Text2:
  • Text3: 5

Chips

Value
Loading data...

API

Parameters

Name Type Description
Id string
Model TModel
ChildContent RenderFragment<>

Event Callbacks

Name Type Description
OnChipsUpdated EventCallback<ChipItem[]>
ModelChanged EventCallback<>

Methods

Method Returns Description
UpdateModelAsync() Task
RemoveChipAsync(ChipItem chipToRemove) Task Tries to remove chip. Execution is postponed to OnAfterRender, so this method cannot have a return value.
An unhandled error has occurred. Reload 🗙