IgniteUI / igniteui-blazor

Ignite UI for Blazor component library packs 35+ native Blazor UI Controls with 60+ high-performance Charts designed for any Blazor WASM or Server-side app scenario.
https://www.infragistics.com/products/ignite-ui-blazor
2 stars 3 forks source link

IgbSelect - binding doesn't work #116

Closed mddifilippo89 closed 1 month ago

mddifilippo89 commented 1 month ago

Description

Selection Changing options in IgbSelect do not update other components bound to the same item via @bind-value, but updating those items will update the IgbSelect.

Steps to reproduce

  1. Select a new option from the select dropdown, eg. "Apple"

Result

IgbInput and label do not update with "apple" and continue to be shown as "orange"

And Console Error:

System.NullReferenceException: Object reference not set to an instance of an object. dotnet.native.8.0.2.tfnhmic6mv.js:8 at IgniteUI.Blazor.Controls.IgbSelect.b102_0(IgbSelectItemComponentEventArgs args) dotnet.native.8.0.2.tfnhmic6mv.js:8 at IgniteUI.Blazor.Controls.BaseRendererControl.<>c__DisplayClass188_0`1[[IgniteUI.Blazor.Controls.IgbSelectItemComponentEventArgs, IgniteUI.Blazor, Version=23.2.218.0, Culture=neutral, PublicKeyToken=null]].b0(Object sender, Object args) dotnet.native.8.0.2.tfnhmic6mv.js:8 at IgniteUI.Blazor.Controls.BaseRendererControl.OnRaiseEvent(String name, String propertyName, String args)

Expected result

IgbInput and label update from "orange" to "apple".

Attachments

overview.zip

mddifilippo89 commented 1 month ago

https://github.com/IgniteUI/igniteui-blazor/issues/111