Skip to content

Commit

Permalink
fix(select): make disabled prop reactive
Browse files Browse the repository at this point in the history
fix #231
  • Loading branch information
stasson committed Jan 29, 2018
1 parent c5cde20 commit f22883d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions components/select/mdc-menu-select.vue
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,11 @@ export default {
components: {
'mdc-menu': mdcMenu
},
watch : {
disabled () {
this.foundation && this.foundation.setDisabled(this.disabled)
}
},
methods: {
resetIndex () {
if (this.foundation) {
Expand Down

0 comments on commit f22883d

Please sign in to comment.