Blazor Maui App Crashes on iOS when deselect option in Multiselect dropdown and does not bind selected items when page loads.

Hello,

I have 3 problems with multiselect dropdown on blazor:

  1. On dotnet 8 Maui Blazor App on iOS platform, Multiselect dropdown behaves irregularly when I deselect option it crashes. Specially if first item selected and deselected.in this scenario it returns only "," comma value before the crash.
  2. when I bind list of string as selected items, they are not selected when page loads.   
  3. When I set MaximumSelectionLength is 4, only 3 can be selected. So it is not working as expected. 

I confirms same code works on android platform.

codes are like this:

 <SfMultiSelect @bind-Value="@Obj.Cities" MaximumSelectionLength="4" Mode="@VisualMode.CheckBox" Placeholder="Cities" DataSource="@Cities"> </SfMultiSelect>


Note: I use Syncfusion Blazor  26.1.39 version.


1 Reply

PK Priyanka Karthikeyan Syncfusion Team August 15, 2024 12:48 PM UTC

Hi N Ozer Senol,

 

Sorry for the delay. We have created a sample in MAUI MultiSelect based on the information you provided and tested the reported issue on a Mac device. However, we were unable to reproduce the issue on our end. For your convenience, we have attached the sample and a video illustration demonstrating its functionality.


 

To better assist you, could you please share the full page code snippet and ensure that the TValue and TItem are properly bound in your implementation? If you are using an older version of the component, we recommend checking whether the issue persists in the latest version. Providing these details will help us accurately reproduce the issue and offer a prompt resolution.


Thank you for your understanding and cooperation.

 

Regards,

Priyanka K


Attachment: Maui_MultiSelect_ff94f202.zip

Loader.
Up arrow icon