Implement setValue in PCF Custom Control

987 views Asked by At

My custom control does not react to getAttribute("abc").setValue("123") from form js.

Do I have implement something in PCF Custom Control code?

1

There are 1 answers

0
Arun Vinoth-Precog Tech - MVP On

Pls verify these.

  1. Debug and see whether the updateView() in PCF index.ts is hitting, your control will be rendering there to get updated for any change in its property bag
  2. Validate you have usage="bound" for the property in ControlManifest.Input.xml file