From 82e80ccdebd4ab07a3d6cd1df65a92d6d1e825bb Mon Sep 17 00:00:00 2001 From: Carson Sievert Date: Thu, 25 Apr 2019 17:42:54 -0500 Subject: [PATCH] InputRateDecorator's setInput method needs to strip of the input's ttype before looking up the input's rate policy, closes #2387 --- srcjs/input_rate.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/srcjs/input_rate.js b/srcjs/input_rate.js index fe132808f..0d1f96f2d 100644 --- a/srcjs/input_rate.js +++ b/srcjs/input_rate.js @@ -298,6 +298,9 @@ var InputRateDecorator = function(target) { }; (function() { this.setInput = function(name, value, opts) { + const input = splitInputNameType(name); + name = input.name; + this.$ensureInit(name); if (opts.priority !== "deferred")