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.
- Improved error handling when invalid relationship is provided to belongsToMany
- Updated packages
- Fixed legacy support (for Nova versions under 3.25)
- Updated packages
- Fixed legacy support (correctly this time)
- Fixed legacy support (correctly this time)
- Fixed legacy support for belongsTo associatable query (3.26.1 or earlier)
- Fixed async display values not being displayed with new
belongsTo
logic
- Fixed compatibility with Nova versions earlier than
3.26.1
- Fixed
relatableQuery
support for async relations
- Added support for relatable queries with
belongsTo
relations - Added index field resource router link to
belongsTo
relations - Added detail field resource router link to
belongsTo
relations
- Updated packages
- Added support for relatable queries (huge thanks to @Tim-Frensch)
- Updated packages
- Added
->dependsOnOutsideFlexible($fieldName)
function
- Fixed distinct not working with singleSelect and multiSelect together
- Updated packages
- Fixed a minor crash
- Updated packages
- Added three new functions
indexDelimiter
- Define the delimiter used for index displayindexValueDisplayLimit
- Define how many values to display at onceindexCharDisplayLimit
- Set char limit for index display value
- Updated packages
- Remove length validator (serves no meaning)
- Improved multiselect initial load time.
- Computed options are no longer loaded before user opens multiselect
- Added
distinct
options.- Disables options that have already been used by other multiselects in the same distinct group.
- Supports Multi and Singleselect options. Pull request to support async options are welcome.
- Fixed issue where
$this->resourceClass
was undefined when usingbelongsTo
synchronously
- Added Persian(Farsi) translations (thanks to @FaridAghili)
- Use resource title method (thanks to @shawnheide)
- Make use of resource
newModel()
function. - Fixed inverse of nullable not storing an empty array (thanks to @Ali-Shaikh)
- Fixed
belongsToMany
making duplicate queries - Updated packages
- Fixed
readonly
not working - Fixed border color when the field receives an error
- Improved border radius
- Fixed crash when using
->asyncResource
in an action - Updated packages
- Fixed help text element always being rendered
- Updated packages
- Fixed Resource titles when using
->asyncResource
- Fix exception thrown when using
->asyncResource
- Theoretical fix to
e.fill
is not a function - Updated packages
- Dropped PHP 7.1, Laravel 6 and Nova 2 support
- Fixed
->belongsToMany
crashing with an invalid relationship method and value
- Fixed
->belongsTo
crashing with an invalid relationship method and value
- Fixed
->belongsTo
crashing on create view
- Fixed help text not being displayed
- Fixed a plausible crash when using
dependsOnOptions
- Made
belongsTo
andbelongsToMany
async optional (second argument is now a boolean toggling async) - Updated packages
- Upgraded nova-translations-loader
- Fix translations publishing
- Added async searching (thanks to @MarikaMustV)
- Added
belongsTo
- Make
belongsToMany
work asynchronously
- Updated packages
- Added Estonian (et) translations
- Replaced translations logic with
nova-translations-loader
- Fixed
belongsToMany
in some cases (thanks to @DanielLavoie90) - Updated packages
- Fixed
belongsToMany
in some cases - Updated packages
- Support for
->belongsToMany()
usage
- Updated packages
- Added Dutch translations (thanks to @preliot)
- Fix invalid
v-for
key - Updated packages
- More theoretical fixes to Nova's translation logic crash
- Added
dependsOnMax
option - Added
nova-flexible-content
support
- Fixed typo that caused a runtime crash (thanks to @gmedeiros)
- 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