Created
          October 13, 2021 22:19 
        
      - 
      
 - 
        
Save kerrishotts/c134102235e38da4ad478467dc3252ef to your computer and use it in GitHub Desktop.  
    Setting UXP textfield value manual workaround
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | const numberField = document.querySelector("sp-textfield[type=number]"); | |
| numberField.value = `${numberOfSteps}`; /* template literals will work */ | |
| numberField.value = "" + numberOfSteps; /* or you can do this. */ | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment