Hi Isomorphic,
retesting this testcase I noticed two problems with SelectItem sorting, one general, one 13.0p (v12.0p_2022-09-10, v12.1p_2022-09-09, v13.0p_2022-09-09).
13.0p issue:
Please open this sample in 12.0p, 12.1p and 13.0p, as well as Developer Console and watch the requests for supplyCategory.
The 12.x requests have a sortBy:["categoryName"] (expected, because of sortByDisplayField docs, and also because it just makes sense), the 13.0p request does not (unexpected).
Strangely enough, the data seems to be sorted in server's response here anyway, but this might be a coincidence.
General issue in all three versions:
Add sortField:"categoryName" to the categoryName-field definition and start the sample.
On every open of the pickList by clicking the SelectItem with the mouse or via keys Alt-Down, a new request is sent to the server (unexpected). This is not the case without sortField.
Best regards
Blama
retesting this testcase I noticed two problems with SelectItem sorting, one general, one 13.0p (v12.0p_2022-09-10, v12.1p_2022-09-09, v13.0p_2022-09-09).
13.0p issue:
Please open this sample in 12.0p, 12.1p and 13.0p, as well as Developer Console and watch the requests for supplyCategory.
The 12.x requests have a sortBy:["categoryName"] (expected, because of sortByDisplayField docs, and also because it just makes sense), the 13.0p request does not (unexpected).
Strangely enough, the data seems to be sorted in server's response here anyway, but this might be a coincidence.
General issue in all three versions:
Add sortField:"categoryName" to the categoryName-field definition and start the sample.
On every open of the pickList by clicking the SelectItem with the mouse or via keys Alt-Down, a new request is sent to the server (unexpected). This is not the case without sortField.
Best regards
Blama
Comment