Formats a value and sets it on the input element.
(value: D | null)
| 372 | |
| 373 | /** Formats a value and sets it on the input element. */ |
| 374 | protected _formatValue(value: D | null) { |
| 375 | this._elementRef.nativeElement.value = |
| 376 | value != null ? this._dateAdapter.format(value, this._dateFormats.display.dateInput) : ''; |
| 377 | } |
| 378 | |
| 379 | /** Assigns a value to the model. */ |
| 380 | private _assignValue(value: D | null) { |