PolymerElements / paper-input

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

[question] Should paper-input (and/or other inputs) be redesigned? #571

Open ghost opened 6 years ago

ghost commented 6 years ago

Do you have any plans to make paper-input (and paper-checkbox and other inputs) with decorator-pattern? This would solve all of the below issues?

Now using paper inputs and forms is too complicated. Here's a few things which bothers me:

To balance my complaints I want to write that I like Polymer much, especially the idea of:

so great job :)

Perhaps it's not the best place to raise this issue, but i didn't have better idea.

notwaldorf commented 6 years ago

Technically you can still do this today, using paper-input-container and an iron-input directly. I agree that this element should be refactored, but doing so is an enormous breaking change -- and while doing the refactor, a lot of the features in this element should get rewritten/refactored.

The team is still figuring out how to best rewrite the elements in a pure 2.0 fashion that's more maintainable, faster and efficient than what we have currently -- stay tuned!