setInputPlaceholder = (input, params) => {
  if (!input.placeholder && params.inputPlaceholder) {
    input.placeholder = params.inputPlaceholder
  }
}
@param {HTMLInputElement | HTMLTextAreaElement} input
@param {SweetAlertOptions} params