| 446 | } |
| 447 | |
| 448 | _onInput() { |
| 449 | // This is a noop function and is used to let Angular know whenever the value changes. |
| 450 | // Angular will run a new change detection each time the `input` event has been dispatched. |
| 451 | // It's necessary that Angular recognizes the value change, because when floatingLabel |
| 452 | // is set to false and Angular forms aren't used, the placeholder won't recognize the |
| 453 | // value changes and will not disappear. |
| 454 | // Listening to the input event wouldn't be necessary when the input is using the |
| 455 | // FormsModule or ReactiveFormsModule, because Angular forms also listens to input events. |
| 456 | } |
| 457 | |
| 458 | /** Does some manual dirty checking on the native input `value` property. */ |
| 459 | protected _dirtyCheckNativeValue() { |