Skip to content

Commit

Permalink
style(VInput): remove variable
Browse files Browse the repository at this point in the history
  • Loading branch information
MajesticPotatoe committed Sep 26, 2019
1 parent 2767f2c commit 3de8b6d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/vuetify/src/components/VInput/VInput.ts
Original file line number Diff line number Diff line change
Expand Up @@ -221,16 +221,16 @@ export default baseMixins.extend<options>().extend({
? [this.hint]
: this.validations

const role = this.hasMessages ? 'alert' : null

return this.$createElement(VMessages, {
props: {
color: this.hasHint ? '' : this.validationState,
dark: this.dark,
light: this.light,
value: (this.hasMessages || this.hasHint) ? messages : [],
},
attrs: { role },
attrs: {
role: this.hasMessages ? 'alert' : null,
},
})
},
genSlot (
Expand Down

0 comments on commit 3de8b6d

Please sign in to comment.