Skip to content

Releases: rawilk/laravel-form-components

3.0.4

22 Jan 13:25
Compare
Choose a tag to compare

Updated

  • Update flatpickr dependency to version 4.6.9

3.0.3

08 Jan 13:39
e9cffb4
Compare
Choose a tag to compare

Fixed

  • Fix array to string conversion error with <x-input> on value field

3.0.2

21 Dec 19:09
9eadda1
Compare
Choose a tag to compare

Fixed

  • Fix issue with checked attribute always being set to false on checkbox component

3.0.1

18 Dec 20:29
b5f7873
Compare
Choose a tag to compare

Fixed

  • Fix issue on custom-select where options were always empty

3.0.0

18 Dec 15:11
5d41686
Compare
Choose a tag to compare

Breaking Changes

  • Drop support for php 7

Added

  • Add container-class prop to inputs
  • Add language file for any text used in components
  • Add switch toggle component (<x-switch-toggle />)

Changed

  • Allow form-group component label to be omitted by passing in false for label
  • Update alpine dependency to version 2.8.0
  • Lighten up input placeholder color (apply placeholder-gray-400 to inputs)

2.0.2

30 Nov 19:40
2249c91
Compare
Choose a tag to compare

Added

  • Add class group to custom select option elements

Changed

  • Change x-if to x-show on custom select button display

2.0.1

30 Nov 19:14
c69f076
Compare
Choose a tag to compare

Added

  • Add custom-select-value-changed event emitted on custom select

Fixed

  • Fix custom select empty id issue
  • Fix custom select filter loading icon styles
  • Fix date picker clear button styles
  • Fix date picker styles when livewire re-renders it

2.0.0

27 Nov 18:59
29ea7e4
Compare
Choose a tag to compare

Changed

  • Change styling to be compatible with TailwindCSS v2
  • Change color classes to more abstract names like primary or danger - see the upgrade guide for more info
  • <x-custom-select> component now renders options in an x-for loop and only accepts an array of options now
  • <x-custom-select> component now uses wire:filter as a livewire method name to perform server-side filtering
  • Change how alpine click event is registered on password component (from @click to x-on:click)
  • Make <x-timezone-select> compatible with new api for <x-custom-select>
  • Change default clear icon for <x-custom-select>

Added

  • Add buttonDisplay slot to <x-custom-select> component
  • Add optionDisplay slot to <x-custom-select> component
  • Add wireListeners property to <x-custom-select> component
  • Add $maxOptions property to <x-custom-select> component
  • Add ability for custom select options to be dependent on other custom selects
  • Add php 8 support

Removed

  • Remove <x-custom-select-option> blade component
  • Remove array type hint on $options attribute on <x-custom-select> to allow for more flexibility (i.e. passing in Collections)

1.4.14

09 Nov 19:42
fc6f3ca
Compare
Choose a tag to compare

Changed

  • Change how custom select values are compared

1.4.13

09 Nov 19:18
6df5fec
Compare
Choose a tag to compare

Changed

  • Change how custom select options are selected