configuring personAddress widget

am trying to make both address1 and address 2 required, using <requiredElements> <string>address1</string> ... </requiredElements> to the openmrs address template works for me in the legacy ui but not in the reference application registrationapp. it rather accepts one of the address fields to be set. any quick pointers on how to set fields requirable in that widget at: https://github.com/openmrs/openmrs-module-uicommons/blob/master/omod/src/main/webapp/fragments/field/personAddress.gsp could save my time around this.

thanks CC: @mseaton, @mogoodrich, @dkayiwa, @wyclif, @mksd

This looks like a missing feature which requires a ticket.

1 Like

The ref app requires at least one field by default, I personally agree that it should not and instead follow the constraints of the address template

1 Like

Issue logged at: https://issues.openmrs.org/browse/UICM-87