alfresco-ng2-components
alfresco-ng2-components copied to clipboard
Start Process Component & Default Values
Sorry, but Gitter seems inactive.
- [ ] New feature request
- [X] Bug
- [ ] Support request
- [ ] Documentation
Current behaviour:
When using <adf-start-process [values]="formValues" />
, the key/value pairs in formValues
are not being used to default at least text form fields in the underlying start form. At least as far as I have tested.
Expected behavior:
The key/value pairs in the object passed into values
should be used to default the start form values. For instance, formValues = {"exampleFieldId": "Some Text"}
should fill the start form field with id
exampleFieldId
to Some Text
. It leaves it blank.
Steps to reproduce the issue:
Create an APS App, Process, and Start Form with a single text field. Use the adf-start-process
component in an Angular application looking to default the value of the field you put in your start form. And try it out.
Component name and version:
adf-start-process
or adf-start-form
or adf-form
, I am not sure how deep the problem goes. v6.4.0. This is the version with ADW v4.3.0 and v4.4.0 was only released a month ago. I assume it isn't fix there based on the source history.
Browser and version: MS Edge v124.0.2478.51
I have reconfirmed that this is case. I even set the values on initialization to make sure it isn't a timing issue. I cannot default any values in the start form.