Constructor
# <UserActivityFormFields task updateTask />
Enables to edit an user activity by form fields provided through react-jsonschema-form.
PropTypes:
Name | Type | Required | Description | Default |
---|---|---|---|---|
task |
object | Yes | Task data. | |
updateTask |
func | Yes | Callback to update the value of task in the parent component. |
Methods
# inner getEntities() → {Array.<Object>}
Obtains the entities of data models.
Entities of data models.
Array.<Object>
# inner getRootProcesses() → {Array.<Object>}
Gets root processes from "loadedContractJSON".
Root processes array.
Array.<Object>
# inner handleResize(size)
Updates the value of "viewerHeight" when user drags the corner of Resizable component.
Parameters:
Name | Type | Description |
---|---|---|
size |
Object | Updated size of Resizable component. |
# inner setupSchema()
Sets up the form schema adding entities present in the DasContract data model.