Permalink
Browse files

fix(form-input): BS V4.beta.2 is missing width:100% on readonly plain…

…text (#1225)

* fix(form-input): BS V4.beta.2 is missing width:100% on readonly plaintext

This is an interim fix until BS V4.beta.3 is released: twbs/bootstrap#24486

* fix(form-textarea): Set width 100% on reasonly plaintext textarea
  • Loading branch information...
tmorehouse committed Oct 23, 2017
1 parent 3a4262d commit c37cef4989e2e10c7ce8ee956d5d1ba0b7fce293
Showing with 5 additions and 1 deletion.
  1. +3 −1 lib/components/form-input.vue
  2. +2 −0 lib/components/form-textarea.vue
@@ -104,7 +104,9 @@
},
inputClass() {
return [
this.plaintext ? `form-control-plaintext` : 'form-control',
this.plaintext ? 'form-control-plaintext' : 'form-control',
// Fix missing width:100% in Bootstrap V4.beta.2
this.plaintext ? 'w-100' : '',
this.sizeFormClass,
this.stateClass
];
@@ -78,6 +78,8 @@
inputClass() {
return [
this.plaintext ? 'form-control-plaintext' : 'form-control',
// Interim fix until BS V4.beta.3 is released
this.plaintext ? 'w-100' : '',
this.sizeFormClass,
this.stateClass
];

0 comments on commit c37cef4

Please sign in to comment.