Mutating data

Mutating data

A common use case for DHIS2 applications is data entry. This section focuses on implementing forms with field validation as well as how to send mutation queries to a DHIS2 instance.

The DHIS2 UI Component library has implemented the react library Final Form and we will cover this first. Afterwards we will create a data mutation that modifies the value of a single dataElement.

When the section is finished you will have completed your Insert.js component.

Insert component
Insert component

Relevant resources