Components

UserActivityFormFields

<UserActivityFormFields task updateTask />

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.

View Source components/UserActivityFormFields.js, line 27

Methods

# inner getEntities() → {Array.<Object>}

Obtains the entities of data models.

View Source components/UserActivityFormFields.js, line 151

Entities of data models.

Array.<Object>

# inner getRootProcesses() → {Array.<Object>}

Gets root processes from "loadedContractJSON".

View Source components/UserActivityFormFields.js, line 179

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.

View Source components/UserActivityFormFields.js, line 95

# inner setupSchema()

Sets up the form schema adding entities present in the DasContract data model.

View Source components/UserActivityFormFields.js, line 102