Multiselect and preselect

Hi

I use Multiselect with odataV4Adaptor and remote data.

I used version 16.1.0.32 and pre-select in Multiselect worked like a charm.
My code:
multiselect.value = [ '12345678-1234-1234-1234-1234578912345','12345678-1234-1234-1234-1234578912345'].
I saw all elements on the list with selected two items.

In version 16.2.0,42 this code make request to server with parameter .../odata/Something?$filter = (Id eq guid'12345678-1234-1234-1234-1234578912345') or (Id eq guid'12345678-1234-1234-1234-1234578912345').

Server returns error -> The query specified in the URI is not valid. Unrecognized 'Edm.String' literal 'guid'c3a33015-5d41-4e7b-8748-3be20ab5751b''

I thing filter shuld be (Id eq 12345678-1234-1234-1234-1234578912345) without 'guid'.

I overrided onPredicate in ODataV4Adaptor but results are not like in 16.1.0.32 . I see only two selected items.

1 Reply

KV Karthikeyan Viswanathan Syncfusion Team July 3, 2018 09:30 AM UTC

Hi DEVW, 
 
Thanks for contacting Syncfusion support.

We have validated your scenario. we confirmed that the issue with “Multiselect render with initial value returns exception in odataV4Adaptor
is a defect and This fix will be included in our Volume 2, SP1 release which will be rolled out by the month of July. We will let you know once it has been rolled out. 

Regards,
Karthikeyan V.
 


Loader.
Up arrow icon