Line item checkbox IDs are numeric; need prefix

Bug #2019031 reported by Stephanie Leary
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Evergreen
New
Low
Unassigned

Bug Description

Filing this separately from bug 2009092, because this won't break anything essential, but we do need to fix it: the line item checkbox IDs in the PO list are numeric. For various reasons, HTML ID attributes need to start with a letter. (See https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/id for the details.)

[id]="li.id()" should be something more like [id]="'lineitem-'+li.id()"

... however, I'm not confident I can change this here without fouling up the logic elsewhere, so I'll let someone else tackle this.

Standardizing our DOM ID attributes would help us avoid these errors; see bug 2018410.

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.