make sure is-filled is added when initial html value is not empty

This commit is contained in:
Kevin Ross 2016-05-03 20:24:13 -05:00
parent 06bf55ac47
commit dbbd0fb8aa

View File

@ -99,6 +99,10 @@ const BaseInput = (($) => {
this.addFocusListener() this.addFocusListener()
this.addChangeListener() this.addChangeListener()
if(this.$element.val() != ''){
this.addIsFilled()
}
} }
dispose(dataKey) { dispose(dataKey) {