Currently, the elementName field of BaseElement divides set names with ~&~ , which needs to be removed upon display. Adding a displayName field with this already done removes the need to run replaceAll('~&~', ' & ') in every location where the element is displayed, improving code quality. Ideally the displayName field would depend on elementName and respond to updates to it.
Currently, the
elementName
field ofBaseElement
divides set names with~&~
, which needs to be removed upon display. Adding adisplayName
field with this already done removes the need to runreplaceAll('~&~', ' & ')
in every location where the element is displayed, improving code quality. Ideally thedisplayName
field would depend onelementName
and respond to updates to it.