code: function resetInput() {
    var $modal = getModal();
    var $input = getInput();
  
    _removeClass$getTopMargin$fadeIn$show$addClass.removeClass($modal, 'show-input');
    $input.value = '';
    $input.setAttribute('type', _defaultParams2['default'].inputType);
    $input.setAttribute('placeholder', _defaultParams2['default'].inputPlaceholder);
  
    resetInputError();
  }
docs: /*
  Reset the styling of the input
  (for example if errors have been shown)