Permalink
Browse files

fix(form-group): replace .col-form-legend with .col-form-label

  • Loading branch information...
pi0 committed Jan 25, 2018
1 parent 7347b8e commit ac2d4dd54ce9940b63457975cea949c541d76833
Showing with 1 addition and 3 deletions.
  1. +1 −3 src/components/form-group/form-group.js
@@ -228,9 +228,7 @@ export default {
},
labelClasses () {
return [
// BS V4.beta.3 will replace .col-form-legend with .col-form-label
// so this next line will change to just: 'col-form-label',
(this.labelSize || this.labelFor) ? 'col-form-label' : 'col-form-legend',
'col-form-label',
this.labelSize ? `col-form-label-${this.labelSize}` : null,
this.labelTextAlign ? `text-${this.labelTextAlign}` : null,
this.horizontal ? null : 'pt-0',

0 comments on commit ac2d4dd

Please sign in to comment.