Skip to content

Commit b18b560

Browse files
authored
Merge pull request bootstrap-vue#41 from chrisyip/patch-1
Fixed missing "labelClass" and "inputClass"
2 parents 6a70fba + 749f531 commit b18b560

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

components/form-input.vue

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<template>
22
<fieldset :class="['form-group',inputState]">
3-
<label :for="id" v-if="label" class="control-label">{{label}}</label>
4-
<div class="inputClass">
3+
<label :for="id" v-if="label" :class="['control-label',labelClass]">{{label}}</label>
4+
<div :class="inputClass">
55
<input
66
:type="type"
77
:class="['form-control',stateIconType,inputSize]"
@@ -77,6 +77,8 @@
7777
type: Boolean,
7878
default: true
7979
},
80+
inputClass: {},
81+
labelClass: {},
8082
},
8183
}
8284

0 commit comments

Comments
 (0)