← Back to team overview

dhis2-devs team mailing list archive

[Bug 1748325] [NEW] Design data entry form Text Field Properties values overwritten

 

Public bug reported:

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!

** Affects: dhis2
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1748325

Title:
  Design data entry form Text Field Properties values overwritten

Status in DHIS:
  New

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 manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1748325/+subscriptions