As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
I am using stencil in form . So i created UI to replace stencil in ADF Form.
FormService.formFieldValueChanged method caling when form input value changed .But Its not calling when custom Stencil value changed . How can i get event when Value of custom Stencil changed in ADF Form ?
hey Ciju Joseph, is there any workaround available?
I think what you are looking at is Field property of the custom stencil.This will give you all the attributes of a stencil.
alfresco-ng2-components/form-field.model.md at master · Alfresco/alfresco-ng2-components · GitHub
If you are looking at the custom stencil events then it is just another componenet in angular 2, It has its own dom elements associated with it so you can call the events in the same way.
Assuming that your stencil is an extension of WidgetComponent & if you are updating the stencil's field value correctly it should trigger an event! If that is not happening, please raise a bug with the ADF team with a sample snippet to reproduce this issue!
Ciju