Code Monkey home page Code Monkey logo

Comments (4)

OlivierCC avatar OlivierCC commented on June 18, 2024

Hi @SurinderTaneja, this happens when you are using the last version of the SPFx package (for example version 1.1.1 of sp-webpart-base). The sp-client-custom-fields will be fix soon to support these packages version. Stay tuned.
Regards,
Olivier

from spfx-40-fantastics.

OlivierCC avatar OlivierCC commented on June 18, 2024

Hi @SurinderTaneja,

the problem has been fixed with the version 1.3.5 of the sp-client-custom-field library, now available on github at http://github.com/OlivierCC/sp-client-custom-fields. But be careful, this version changes the custom field declaration. I will republish a new version of the web parts with support of this very soon.

Regards,

Olivier

from spfx-40-fantastics.

SurinderTaneja avatar SurinderTaneja commented on June 18, 2024

Thanks @OlivierCC for your quick response on this. I installed the 1.3.5 version of the sp-client-custom-field library and able to successfully build the solution by adding render:this.render.bind(this) but it still doesn't work with 1.1.1 version of sp-webpart-base. I am currently using the latest version of node(5.0.3) and it shows the below error when I try to enter the name in peoplepicker control.

Exception in CommandButton.render(): TypeError: Cannot read property 'palette' of undefined.

Regards.
Surinder

from spfx-40-fantastics.

OlivierCC avatar OlivierCC commented on June 18, 2024

Hi @SurinderTaneja. Very strange error, i'm not able to reproduce it in my SharePoint sites. This error could come from Office UI Fabric.

Some questions to try to identify the issue:

  • What is the kind of your tenant : Dev (MSDN like), First release or normal release ?
  • What is the kind of page where the error happens: Workbench (../_layouts/15/workbench), modern page in modern site or classical page in classical site ? Or every 3 ?
  • Can you send me the total stack trace of this exception in your browser ?

Thanks, regards,

Olivier

from spfx-40-fantastics.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.