Skip to content

v4.1.0

Choose a tag to compare

@jantinnerezo jantinnerezo released this 04 Apr 19:02
· 2 commits to master since this release

Bug Fixes

  • Fixed Livewire 4 compatibility - Resolved MethodNotFoundException: Public method [toJSON] not found on component when using the package with Livewire 4. The
    root cause was $wire.call() not being handled correctly by Livewire 4's $wire proxy. It now uses $wire[action]() which works on both Livewire 3 and 4.
    (#181)

New Methods

  • timerProgressBar() - Show a visual countdown progress bar
  • asToast() - Ready-to-use toast preset (top-end, timer from config, progress bar enabled)
  • customClass(array $classes) - Apply custom CSS classes to any part of the alert
  • reverseButtons() - Swap confirm and cancel button positions

Input Methods

Dedicated methods for collecting user input directly within an alert:

  • withTextInput(), withEmailInput(), withPasswordInput(), withNumberInput(), withTextareaInput()
  • withSelectInput(), withRadioInput(), withCheckboxInput(), withFileInput()