Paper Input elements doesn't work in Polymer 2
Asked Answered
D

1

6

I'm working with polymer 2, I download polymer paper input elements, then i add the link tag:

<link rel="import" href="../bower_components/paper-input/paper-input.html">

then:

<paper-input  label="Floating label"></paper-input>

And the browser not showing the input text element

I'm working with the last version of chrome 56.0

Thanks for the help

Delmerdelmor answered 29/3, 2017 at 19:19 Comment(0)
S
9

Look at Polymer 2.0 installation Documentation.

Have you installed paper-input with bower correctly?

bower install --save PolymerElements/paper-input#2.0-preview
Secretary answered 30/3, 2017 at 8:22 Comment(2)
I installed everything correctly and still get this error in the log: paper-input-container.html:513 Uncaught TypeError: Cannot read property 'addEventListener' of null at HTMLElement.attached (paper-input-container.html:513) at HTMLElement.attached (class.html:207)...Valleau
It was working before. Had to reinstall my bower components and it stoped working.Blame

© 2022 - 2024 — McMap. All rights reserved.