All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Reworked translations logic
- More workarounds for Nova's bug that causes runtime crashes
- Added French translations (thanks to @nonovd)
- Workaround for Nova's bug that causes runtime crashes
- Updated packages
- Fix bug causing nullable multiselects to save as 'null' string (thanks to @mstyles)
- Updated packages
- Multiselect dependency (
dependsOn
) functionality (thanks to @alberto-bottarini)
- Show group name when using option groups and multiple items have the same label
- Fix plausible crash when using
saveAsJSON()
andsingleSelect()
together - Updated packages
- Support Nova 3.0 in
composer.json
requirements
- Added option groups support (see README.md)
- Updated packages
- Improve
nova-flexible-content
support
- PHP 7.4 support improvements
- Value resolve/save fixes
- Fix mysterious ternary operator error w/ nullable
- Fix
singleSelect()
not saving correctly
- Improved validation support (
min
,max
,array
etc) - Updated packages
- Updated packages
->options($options)
method now accepts callable type
- Added option to overwrite the detail field value component (
NovaMultiselectDetailFieldValue
)
- Added optional
singleSelect
support for picking single values through the same searchable input
- Added optional reordering functionality that allows the selected items to be arranged in a new sequence
- The feature can be enabled on a per field basis with
->reorderable()
or->reorderable(true)
- The feature can be enabled on a per field basis with
- Fix loading and registering translation files
- Fix values not being displayed on Index view
- Fix missing translation on Index view (n items selected)
- Fix invalid
is_callable
call in ServiceProvider
- Fix values not displaying on DetailField (thanks to @CristianGiordano)
- Fix Composer crash due to incorrect capitalization of
Nova::translations
method call
- Fix
resolveResponseValue
not working withsaveAsJSON
- Added
saveAsJSON
option which allows the field to save the value as a SQL JSON array - Added translation option
- Undo saving value as not an array when the field max is set to 1
- Do not save value as an array when field max is set to 1
- Fix fields casted to array not working by @jplhomer
- Fix support packages that wrap fields like
nova-grid
by using better$refs
for calculating dropdown position - Fix JS runtime crash when data in database is invalid (not a JSON array)
- Fix fields casted to array not working by @victorlap
- Fixed detail field trying to display empty array as a value
- Added support for
nullable()
(as requested by @potentweb)
- Fixed multiselect field opening towards the bottom even when there's no room for it (by @marttinnotta)
- Added
resolveForPageResponseUsing(callable $callback)
option
- Changed the way data is stored - instead of a separated list (string), data is now stored as JSON
Initial release.
- Basic multiple select field using vue-multiselect