Native Web Components playground

Nova v3.38.0

Preview

Web Components

Dropdown migration

Blazor callback names for the new Dropdown bindings.

← nv-fielddropdown

Blazor callbacks#

The existing callback parameters remain callable and are marked obsolete until the next major version.

  • Rename OpenChangedEvent to OpenChanged.
  • Rename FilterTextChangedEvent to FilterTextChanged.

The open event now reports the field’s own opening and dismissal at the state change. Assigning the open prop updates the picker quietly. A disabled or read-only field stays closed instead and reports false, so the bound value follows it.

Bind the prop directly if the callback only updates application state.

razor<NvFielddropdown @bind-Value="value" @bind-Open="open" @bind-FilterText="query" Filterable="true" />