Closed dbauszus-glx closed 3 months ago
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code
could entry index within infoj[] be used as fallback key?
The problem with the index is that it may not be known. The key is known and may be used in a plugin to access a data_id element.
Each entry should be assigned a key in the infoj iteration if not already assigned.
The key can be an entry.field which is unique. Otherwise a running index can be assigned within the iteration.
The key should be used primarily as a data_id to ensure that similar elements such as checkboxes have a unique data-id within their location.view context.