09-10-2018 12:11 AM
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 ?
09-10-2018 04:11 AM
hey Ciju Joseph, is there any workaround available?
09-10-2018 10:00 PM
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.
09-10-2018 10:13 PM
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
Explore our Alfresco products with the links below. Use labels to filter content by product module.