Answers for "disable livewire error model"

0

disable livewire error model

<script>
  window.livewire.connection.driver.showHtmlModal = function (response) {
    const json = JSON.parse(response);
    if(json.status === 419){
      return location.reload();
    }
    window.livewire.emit('livewire-exception', json.error)
  };
</script>
@sujay
Posted by: Guest on May-25-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language