As I am new to Sharepoint Framework, I am trying to generate request ID for the request form using the pad function for adding leading laeding zeroes using No javascript framework version in SPFx webpart...

Please suggest me any workaround for this...

  let requestId="123456789";

You could use your way to generate request ID,this is a simple demo.

Document for your reference:


  • If my reply is helpful to you, you could mark it as an answer and vote it.Thank you. – Amos_MSFT Aug 18 '20 at 2:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.