Skip to content

Commit 69f5286

Browse files
committed
inputフィールドのコンポーネントを差し替え
1 parent f4a7091 commit 69f5286

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

src/components/EditorField.vue

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,11 @@
22
<div>
33
<span v-if="title" class="EditorField-Title">{{ title }}</span>
44
<div class="EditorField-Form">
5-
<input-field :label="label" :placeholder="placeholder" />
5+
<editor-input-field
6+
:label="label"
7+
:placeholder="placeholder"
8+
:transparent="transparent"
9+
/>
610
<content-card-editor-button
711
v-if="iconName"
812
class="Button"
@@ -14,11 +18,11 @@
1418

1519
<script lang="ts">
1620
import Vue from 'vue'
17-
import InputField from '@/components/InputField.vue'
21+
import EditorInputField from '@/components/EditorInputField.vue'
1822
import ContentCardEditorButton from '@/components/ContentCardEditorButton.vue'
1923
2024
export default Vue.extend({
21-
components: { InputField, ContentCardEditorButton },
25+
components: { EditorInputField, ContentCardEditorButton },
2226
props: {
2327
title: {
2428
type: String,
@@ -35,6 +39,11 @@ export default Vue.extend({
3539
required: false,
3640
default: ''
3741
},
42+
transparent: {
43+
type: Boolean,
44+
required: false,
45+
default: false
46+
},
3847
iconName: {
3948
type: String,
4049
required: false,

0 commit comments

Comments
 (0)