(cellValue: ICellValue)
| 76 | } |
| 77 | |
| 78 | override cellValueToString(cellValue: ICellValue): string | null { |
| 79 | if (cellValue === null) { |
| 80 | return null; |
| 81 | } |
| 82 | |
| 83 | const cv = [cellValue].flat(); |
| 84 | |
| 85 | return (cv as IHyperlinkSegment[]).map(seg => seg?.text || seg?.title).join('') || null; |
| 86 | } |
| 87 | |
| 88 | override validateProperty() { |
| 89 | return URLField.propertySchema.validate(this.field.property); |
no test coverage detected