Releases: tanthammar/tall-forms
Tags model binding fix
Fix: Had to separate Tags field into two components, to avoid model binding error if null
Fix: LegacyMount urlencode
make col-span compatible with Tailwind purge css
Change: Make col-span compatible with default Tailwind purge css
New: Add col-span classes to config for individual project settings
Array and Keyval updated()
Fix: Array and KeyVal field updated(), to comply with Livewire default method params.
updated() Lifecycle hook parameters fix
Fix: FormComponent updated() lifecycle hook should follow Livewire default method parameters
Livewire lifecycle updated hook fix
Laravel Livewire default updatedFoo() method does not support array field names.
Added a fix to simplify the use with this package and to extend Livewire to support array fields.
Spatie Tags field Livewire component
New: Spatie Tags field Livewire component (docs coming)
New: Add support for array field updated(), method naming, (not supported in Livewire by default, docs coming)
New: method fillField()
. Example use: emitted Event in frontend via AlpineJS or from other Livewire component
Fix: field inline property for labels
Fix: default value in field, mixed
type instead of string
Fix: urlencode() previous url to comply with :portnumbers
Change: set model in create-component stub for conditional fields
Nullable field fix
Fix: error if field = null
Fix: field-wrapper $this->inline should be $inline
Child components and Auto select single values
- New: Include Livewire child component
- New: Auto select single array value
- Fix: view() should not be in the BaseField, not available for Array or KeyVal fields
- Fix: select field missing my-1 class
Conditional fields
Fix: vertical label alignment for checkbox, checkboxes and radio fields.
New: Conditional fields.
- You can display a field based on a condition. Example:
public function fields()
{
return [
filled($this->events) ? Field::make('Conditional Field')->input() : null,
];
}
Config width for inline form layout
Fix Array field inline view
Fix KeyVal field inline view
Change: moved default label-width and field-width, for inline form layout, to config