We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Payload issue in networks tab

I have a from which will be displayed as multiple sections. when I reopen the form already selected values are unselected and only one values is selected. while partly this is issue in the server side. but I need help to understand how data is sent in payload from multiselect control.

for example :  if I have selected 5 options in multiselect in payload I see all options as separate key value pairs where all keys are same.

sometimes I get all values in a comma separated value in a single key value pair.

It works if all values are passed as comma separated values.

attaching couple of screenshots for reference.





Let me know if any additional details is required.


1 Reply

SS Sarasilmiya Shahul Hameed Syncfusion Team March 2, 2023 01:53 PM UTC

Hello Praveen,


If the MultiSelect component is placed inside a form, the selected values are sent as a key-value pair format and on the server side, the values will be received as an array. We have prepared a sample and shared it below for your reference.





If we misunderstood the requirement, we request you to provide additional details about the requirement as mentioned below. This will help us validate the requirement further and provide you with a better solution.


  1. Exact Requirement details.

  2. Please share a simple issue replicating runnable sample.

  3. Video illustration.


Samplehttps://stackblitz.com/edit/yw4jjd?file=index.js&file=index.html


Regards,

Udhaya Kumar D.


Loader.
Up arrow icon