From dbbd0fb8aac21fe70667302fdde53715a6aee97f Mon Sep 17 00:00:00 2001 From: Kevin Ross Date: Tue, 3 May 2016 20:24:13 -0500 Subject: [PATCH] make sure is-filled is added when initial html value is not empty --- js/baseInput.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/js/baseInput.js b/js/baseInput.js index d3ca1161..5396ccb7 100644 --- a/js/baseInput.js +++ b/js/baseInput.js @@ -99,6 +99,10 @@ const BaseInput = (($) => { this.addFocusListener() this.addChangeListener() + + if(this.$element.val() != ''){ + this.addIsFilled() + } } dispose(dataKey) {