Design data entry form Text Field Properties values overwritten

Bug #1748325 reported by Owen Eddins on 2018-02-09
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
DHIS
Undecided
Unassigned

Bug Description

I am new to dhis2. However, I have found what I believe to be a bug in the Design data entry form on a custom form I am developing in dhis2-live v2.28 running on a Window 10 laptop. I am using the Chrome browser Version 64.0.3282.140 (Official Build) (64-bit).

I also verified the behavior I describe below on the play.dhis2.org/2.28 Sierra Leone demo on the custom form for the Life-Saving Commodities Data Set.

Right click on a Data Set with a custom form containing text fields with data elements as values.

Choose Design data entry form

Double click on any of the input fields.

The Text Field Properties pop up window should appear.

Change one or more of the following values: Name, Value, Character Width, Maximum Characters, Type, Required
 (I set the Width to 1 for test purposes.)

Choose OK

Click big blue Save button (Very important!)

Clear browser cache and dhis2 cache.

Navigate to the form in the Data Entry section.

Verify the changes were saved and are now part of the form.

Now go back to the Data Set’s Design data entry form and open the Text Field Properties pop up window for the field you changed. The values are all empty or defaults.

Clicking on Cancel and saved values will not be overwritten.

However, when developing and laying out custom forms, developers will need to usually change these values repeatedly. Not seeing the saved values with every iteration is a major impediment to developing custom forms.

Having said all that, I am very impressed with dhis2!

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers