Skip to content

Commit

Permalink
fix(mdc-textfield): Support "id" from scope attributes on root element
Browse files Browse the repository at this point in the history
  • Loading branch information
pgbross authored and pgbross committed Apr 26, 2018
1 parent 885344e commit 3541eef
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion components/textfield/mdc-textfield.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div class="mdc-textfield-wrapper" :style="{width:fullwidth?'100%':undefined}">
<div class="mdc-textfield-wrapper" :style="{width:fullwidth?'100%':undefined}" :id="id">

<div ref="root" :class="rootClasses">

Expand Down Expand Up @@ -127,6 +127,7 @@ export default {
maxlength: { type: [Number, String], default: undefined },
rows: { type: [Number, String], default: 8 },
cols: { type: [Number, String], default: 40 },
id: { type: String },
},
data: function() {
return {
Expand Down

0 comments on commit 3541eef

Please sign in to comment.