sp-dev-fx-controls-react icon indicating copy to clipboard operation
sp-dev-fx-controls-react copied to clipboard

ListItemPicker, calculated column as columnInternalName not working

Open jonsjonsson opened this issue 1 year ago • 4 comments

Category

[ ] Enhancement [x] Bug [x] Question

Version

3.19.0

Expected / Desired Behavior / Question

When using a calculated column for columnInternalName no results are returned. This also seems to have been a issue before, https://github.com/pnp/sp-dev-fx-controls-react/issues/805

Observed Behavior

Can see that this API, /_api/web/lists('listguid')/GetItems(query=@v1) being called to get the items returns a 500 error when a calculated column is being used. The CAML query being sent in the url to the API works correctly if i test it in some other way.

Steps to Reproduce

Use a calculated column as columnInternalName

jonsjonsson avatar Aug 20 '24 11:08 jonsjonsson

Thank you for submitting your first issue to this project.

github-actions[bot] avatar Aug 20 '24 11:08 github-actions[bot]

@jonsjonsson I have looked into this. I did not encounter any 500 errors on API calls, but it I was also getting no results when first clicking on an picker (without any inline filter entered). I have proposed a pull request to fix that,

wilecoyotegenius avatar Oct 01 '24 22:10 wilecoyotegenius

I can confirm the same issue, and can also confirm that the last beta version fixes the issue.

moudhafersalhi avatar Nov 09 '24 14:11 moudhafersalhi

I can confirm the same issue, and can also confirm that the last beta version fixes the issue.

Hi. I'm still facing issue with the beta version I.e. 3.21 and spfx version 1.19 . Could you please confirm. With which version you were seeing it working ?

SAgnihotri200895 avatar Jan 21 '25 07:01 SAgnihotri200895