`widget._resizeInput();` should occur after `widget.elements.input.val('');`