trimox / angular-mdc-web

Angular wrapper for Material Design (Web) Components
https://trimox.github.io/angular-mdc-web
MIT License
517 stars 87 forks source link

The last example in the documentation of mdc-select works incorrectly #2154

Open ilyakonrad opened 4 years ago

ilyakonrad commented 4 years ago

Describe the bug The last example in the documentation of mdc-select works incorrectly.

To Reproduce Steps to reproduce the behavior:

  1. Go to the docs.
  2. Scroll down to the last example.
  3. Click on RESET.
  4. Mark select as touched by clicking on it and then clicking somewhere else so that it gets closed.
  5. It is not marked as touched at the bottom until you touch it again.
  6. Also, the RESET button doesn't work after the first touch, but works after the field gets proper 'touched' status.

Expected behavior It should probably become touched right after the first interaction.

Screenshots Image

What OS are you using?: Widnows 10

What browser(s) is this bug affecting?: Chrome 80