* Obtains the content of the first column in the associated table through the `recordId` recorded in the associated field cell, * and the content is processed by cellValue2String. * @param {(string[] | null)} recordIds * @returns {(string[] | null)}
(recordIds: string[] | null)
| 325 | * @returns {(string[] | null)} |
| 326 | */ |
| 327 | cellValueToArray(recordIds: string[] | null): string[] | null { |
| 328 | if (!this.validate(recordIds)) { |
| 329 | return null; |
| 330 | } |
| 331 | const valueArray = recordIds.map(recordId => { |
| 332 | return this.getLinkedRecordCellString(recordId) || t(Strings.record_unnamed); |
| 333 | }); |
| 334 | return valueArray; |
| 335 | } |
| 336 | |
| 337 | /** |
| 338 | * @description concatenates the strings obtained by recordId. |
no test coverage detected