[Bug 1599062] [NEW] program rule doesn't work onload in tracker capture registration form

Public bug reported:

Hi Dev,

DHIS 2 Version 2.23 R.22977

I create a program rule to hide 1 field in registration form Tracker
Capture app, it's only can hide the field when I click somewhere on the
form, can't hide the field from beginning when I just open it.

** 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/1599062

Title:
  program rule doesn't work onload in tracker capture registration form

Status in DHIS:
  New

Bug description:
  Hi Dev,

  DHIS 2 Version 2.23 R.22977

  I create a program rule to hide 1 field in registration form Tracker
  Capture app, it's only can hide the field when I click somewhere on
  the form, can't hide the field from beginning when I just open it.

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1599062/+subscriptions

** Changed in: dhis2
     Assignee: (unassigned) => Markus Bekken (markus-bekken)

···

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

Title:
  program rule doesn't work onload in tracker capture registration form

Status in DHIS:
  New

Bug description:
  Hi Dev,

  DHIS 2 Version 2.23 R.22977

  I create a program rule to hide 1 field in registration form Tracker
  Capture app, it's only can hide the field when I click somewhere on
  the form, can't hide the field from beginning when I just open it.

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1599062/+subscriptions

Fixed in latest 2.24 and trunk.

Git:

** Changed in: dhis2
       Status: New => Fix Released

···

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

Title:
  program rule doesn't work onload in tracker capture registration form

Status in DHIS:
  Fix Released

Bug description:
  Hi Dev,

  DHIS 2 Version 2.23 R.22977

  I create a program rule to hide 1 field in registration form Tracker
  Capture app, it's only can hide the field when I click somewhere on
  the form, can't hide the field from beginning when I just open it.

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1599062/+subscriptions