()
| 554 | } |
| 555 | |
| 556 | private shouldClearOnEdit() { |
| 557 | const { type, clearOnEdit } = this; |
| 558 | return clearOnEdit === undefined ? type === 'password' : clearOnEdit; |
| 559 | } |
| 560 | |
| 561 | private getValue(): string { |
| 562 | return typeof this.value === 'number' ? this.value.toString() : (this.value || '').toString(); |