PolymerElements / iron-input

An input with data binding
https://webcomponents.org/element/PolymerElements/iron-input
33 stars 45 forks source link

Default value used to be empty string and is now undefined. #129

Closed notwaldorf closed 6 years ago

notwaldorf commented 6 years ago

From @notwaldorf on March 20, 2018 0:33

Last paper-input 1.x release: https://raw-dot-custom-elements.appspot.com/PolymerElements/paper-input/v1.1.24/paper-input/demo/index.html If you inspect the first paper-input, its value is ""

Current paper-input 2.x with Polymer 1: http://jsbin.com/vuhidof/edit?html If you inspect the first paper-input, its value is undefined

Copied from original issue: PolymerElements/paper-input#633

notwaldorf commented 6 years ago

I think the suspect is actually iron-input:

iron-input 1.0.11 demo: https://raw-dot-custom-elements.appspot.com/PolymerElements/iron-input/v1.0.11/iron-input/demo/index.html Default value is ""

iron-input 2.1.2 demo: https://raw-dot-custom-elements.appspot.com/PolymerElements/iron-input/v2.1.2/iron-input/demo/index.html Default value is undefined.

notwaldorf commented 6 years ago

From @freshp86 on March 21, 2018 22:17

Should we move this bug over to iron-input? Also is there any candidate fix?

notwaldorf commented 6 years ago

I haven't got a chance to look into it yet. Hoping to this week.

hcarmona commented 6 years ago

Any update on this issue?

notwaldorf commented 6 years ago

oh it's been fixed and merged