PolymerElements / paper-dropdown-menu

A Material Design browser select element
https://www.webcomponents.org/element/PolymerElements/paper-dropdown-menu
61 stars 107 forks source link

paper-dropdown-menu does not get reset #281

Closed notwaldorf closed 6 years ago

notwaldorf commented 6 years ago

From @valdrinkoshi on February 12, 2018 20:21

In 2.x, paper-dropdown-menu does not get reset, see demo page: https://www.webcomponents.org/element/PolymerElements/iron-form/v2.0.0/demo/demo/index.html

This was working in 1.x, see demo page: https://www.webcomponents.org/element/PolymerElements/iron-form/v1.1.6/demo/demo/index.html

Copied from original issue: PolymerElements/iron-form#252

notwaldorf commented 6 years ago

paper-dropdown-menu doesn't seem to care about getting a value set on it (so someDropdown.value = foo, so I'm not sure what iron-form can do here (adding custom logic in sounds a bit gross)

Oh yeah: it's because it's read-only. This sounds like a paper-dropdown-problem not an iron-form problem :(