Thanks for your effort. I copied out the code and have a taste. However, when i run the following code, it return bad request error, would you please tell me why, thank you. results: this.state.addUsers addUsers: number[]; Error Messages: core.ts:14 Uncaught (in promise) ProcessHttpClie ntResponseExcep tion: Error making HttpClient request in queryable: [400] Bad Request at new ProcessHttpClie ntResponseExcep tion (https://localh ost:4321/dist/r eact-sp-fx-pn-p -web-part.js:23 093:28) at https://localho st:4321/dist/re act-sp-fx-pn-p- web-part.js:231 34:24 ProcessHttpClie ntResponseExcep tion @ core.ts:14 (anonymous) @ core.ts:66 Promise.then (async) ReactSpFxPnP._a ddSelectedUsers @ ReactSpFxPnP.ts x:41 r @ sp-webpart-work bench-assembly. js?uniqueId=TSm 8d:200 a @ sp-webpart-work bench-assembly. js?uniqueId=TSm 8d:200 s @ sp-webpart-work bench-assembly. js?uniqueId=TSm 8d:200 f @ sp-webpart-work bench-assembly. js?uniqueId=TSm 8d:200 m @ sp-webpart-work bench-assembly. js?uniqueId=TSm 8d:200 r @ sp-webpart-work bench-assembly. js?uniqueId=TSm 8d:200 processEventQue ue @ sp-webpart-work bench-assembly. js?uniqueId=TSm 8d:200 r @ sp-webpart-work bench-assembly. js?uniqueId=TSm 8d:214 handleTopLevel @ sp-webpart-work bench-assembly. js?uniqueId=TSm 8d:214 i @ sp-webpart-work bench-assembly. js?uniqueId=TSm 8d:214 perform @ sp-webpart-work bench-assembly. js?uniqueId=TSm 8d:200 batchedUpdates @ sp-webpart-work bench-assembly. js?uniqueId=TSm 8d:214 i @ sp-webpart-work bench-assembly. js?uniqueId=TSm 8d:200 dispatchEvent @ sp-webpart-work bench-assembly. js?uniqueId=TSm 8d:214
Hi, Please be noted that: I am using SharePoint 2019 standard editions, please find out the package.JSON { "name": "react-sp-fx-pn-p", "version": "0.0.1", "private": true, "engines": { "node": ">=0.10.0" }, "scripts": { "build": "gulp bundle", "clean": "gulp clean", "test": "gulp test" }, "dependencies": { "@microsoft/sp- core-library": "~1.4.0", "@microsoft/sp- lodash-subset": "~1.4.0", "@microsoft/sp- office-ui-fabri c-core": "~1.4.0", "@microsoft/sp- webpart-base": "~1.4.0", "@pnp/spfx-cont rols-react": "1.13.2", "@types/es6-pro mise": "0.0.33", "@types/react": "15.6.6", "@types/react-d om": "15.5.6", "@types/webpack -env": "1.13.1", "node-pnp-js": "^0.1.3", "react": "15.6.2", "react-dom": "15.6.2" }, "resolutions": { "@types/react": "15.6.6" }, "devDependencie s": { "@microsoft/sp- build-web": "~1.4.1", "@microsoft/sp- module-interfac es": "~1.4.1", "@microsoft/sp- webpart-workben ch": "~1.4.1", "gulp": "~3.9.1", "@types/chai": "3.4.34", "@types/mocha": "2.2.38", "ajv": "~5.2.2" } } Thanks for your help.
Hi, I have not yet tried the PnP SPFx Controls on on-premises. I will try and let you know. Few controls might not work on-premises. Reference: https://sharepoint.github.io/s p-dev-fx-proper ty-controls/