* Validate that a field name is unique.
(name: string)
| 1103 | * Validate that a field name is unique. |
| 1104 | */ |
| 1105 | private validateUniqueName(name: string): void { |
| 1106 | if (this.fieldsByName.has(name)) { |
| 1107 | throw new Error(`Field "${name}" already exists`); |
| 1108 | } |
| 1109 | } |
| 1110 | |
| 1111 | /** |
| 1112 | * Build a default appearance (DA) string for text-based fields. |
no test coverage detected