Fixed polymer inputs not showing their titles or their full area
This commit is contained in:
14
rpg-docs/lib/functions/updatePolymerInputs.js
Normal file
14
rpg-docs/lib/functions/updatePolymerInputs.js
Normal file
@@ -0,0 +1,14 @@
|
||||
updatePolymerInputs = function(self){
|
||||
_.defer(function(){
|
||||
//update all autogrows after they've been filled
|
||||
var pata = self.$("paper-autogrow-textarea");
|
||||
pata.each(function(index, el){
|
||||
el.update($(el).children().get(0));
|
||||
});
|
||||
//update all input fields as well
|
||||
var input = self.$("paper-input");
|
||||
input.each(function(index, el){
|
||||
el.valueChanged();
|
||||
});
|
||||
});
|
||||
};
|
||||
Reference in New Issue
Block a user