Skip to content

Commit cfa10ee

Browse files
committed
Merge pull request #38 from PolymerElements/add-form-behavior
add form behaviour
2 parents 4740f05 + 7fab005 commit cfa10ee

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

bower.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "paper-input",
3-
"version": "0.9.4",
3+
"version": "0.9.5",
44
"description": "Material design text fields",
55
"authors": [
66
"The Polymer Authors"
@@ -25,6 +25,7 @@
2525
"ignore": [],
2626
"dependencies": {
2727
"iron-input": "PolymerElements/iron-input#^0.9.0",
28+
"iron-form-element-behavior": "PolymerElements/iron-form-element-behavior#^0.9.0",
2829
"paper-styles": "PolymerElements/paper-styles#^0.9.0",
2930
"iron-autogrow-textarea": "PolymerElements/iron-autogrow-textarea#^0.9.0",
3031
"polymer": "Polymer/polymer#^0.9.0"

paper-input.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
-->
1010
<link rel="import" href="../polymer/polymer.html">
1111
<link rel="import" href="../iron-input/iron-input.html">
12+
<link rel="import" href="../iron-form-element-behavior/iron-form-element-behavior.html">
1213
<link rel="import" href="paper-input-behavior.html">
1314
<link rel="import" href="paper-input-container.html">
1415
<link rel="import" href="paper-input-error.html">
@@ -53,7 +54,8 @@
5354
is: 'paper-input',
5455

5556
behaviors: [
56-
Polymer.PaperInputBehavior
57+
Polymer.PaperInputBehavior,
58+
Polymer.IronFormElementBehavior
5759
]
5860

5961
})

paper-textarea.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
-->
1010
<link rel="import" href="../polymer/polymer.html">
1111
<link rel="import" href="../iron-autogrow-textarea/iron-autogrow-textarea.html">
12+
<link rel="import" href="../iron-form-element-behavior/iron-form-element-behavior.html">
1213
<link rel="import" href="paper-input-behavior.html">
1314
<link rel="import" href="paper-input-container.html">
1415
<link rel="import" href="paper-input-error.html">
@@ -54,7 +55,8 @@
5455
is: 'paper-textarea',
5556

5657
behaviors: [
57-
Polymer.PaperInputBehavior
58+
Polymer.PaperInputBehavior,
59+
Polymer.IronFormElementBehavior
5860
]
5961

6062
})

0 commit comments

Comments
 (0)