Skip to content

Commit aed82f2

Browse files
committed
InputFieldにplaceholderを追加
1 parent 03c419c commit aed82f2

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/components/InputField.vue

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
:type="show ? 'text' : 'password'"
77
:hint="hint"
88
:label="label"
9+
:placeholder="placeholder"
910
background-color="white"
1011
class="elevation-0"
1112
solo
@@ -30,6 +31,7 @@
3031
type="text"
3132
:hint="hint"
3233
:label="label"
34+
:placeholder="placeholder"
3335
background-color="white"
3436
class="elevation-0"
3537
solo
@@ -47,6 +49,7 @@
4749
type="text"
4850
:hint="hint"
4951
:label="label"
52+
:placeholder="placeholder"
5053
background-color="white"
5154
class="elevation-0"
5255
solo
@@ -64,6 +67,7 @@
6467
type="text"
6568
:hint="hint"
6669
:label="label"
70+
:placeholder="placeholder"
6771
background-color="white"
6872
class="elevation-0"
6973
solo
@@ -109,6 +113,11 @@ export default Vue.extend({
109113
type: Boolean,
110114
required: false,
111115
default: false
116+
},
117+
placeholder: {
118+
type: String,
119+
required: false,
120+
default: ''
112121
}
113122
},
114123
data(): DataType {

0 commit comments

Comments
 (0)