PolymerElements / paper-input

A Material Design text field
https://www.webcomponents.org/element/PolymerElements/paper-input
130 stars 162 forks source link

Paper-textarea declares `pattern` property in the doc but it does not validate it #428

Open krozycki opened 7 years ago

krozycki commented 7 years ago

Description

Paper-textarea declares to have pattern property which it validates but it does not do that.

https://elements.polymer-project.org/elements/paper-input?active=paper-textarea#property-pattern

Expected outcome

When the pattern is specified it should be taken into account during validation.

Actual outcome

Live Demo

Steps to reproduce

Browsers Affected

godzilla072 commented 7 years ago

I've encountered the same issue. Confirmed that the pattern and auto-validation works on similar paper-input element but not on the paper-textarea one. The docs for paper-textarea claim that this functionality is available though:

https://www.webcomponents.org/element/PolymerElements/paper-input/elements/paper-textarea

achauhantlg commented 5 years ago

Any update on this issue. I'm also facing similar issue in my project.

michalakadam commented 4 years ago

I've been able to reproduce this behaviour as well. Until the issue is fixed, could you please remove pattern property from paper-textarea docs?