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.
- 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
distinctoptions.- 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->resourceClasswas undefined when usingbelongsTosynchronously
- 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
belongsToManymaking duplicate queries - Updated packages
- Fixed
readonlynot working - Fixed border color when the field receives an error
- Improved border radius
- Fixed crash when using
->asyncResourcein 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.fillis not a function - Updated packages
- Dropped PHP 7.1, Laravel 6 and Nova 2 support
- Fixed
->belongsToManycrashing with an invalid relationship method and value
- Fixed
->belongsTocrashing with an invalid relationship method and value
- Fixed
->belongsTocrashing on create view
- Fixed help text not being displayed
- Fixed a plausible crash when using
dependsOnOptions - Made
belongsToandbelongsToManyasync 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
belongsToManywork asynchronously
- Updated packages
- Added Estonian (et) translations
- Replaced translations logic with
nova-translations-loader
- Fixed
belongsToManyin some cases (thanks to @DanielLavoie90) - Updated packages
- Fixed
belongsToManyin some cases - Updated packages
- Support for
->belongsToMany()usage
- Updated packages
- Added Dutch translations (thanks to @preliot)
- Fix invalid
v-forkey - Updated packages
- More theoretical fixes to Nova's translation logic crash
- Added
dependsOnMaxoption - Added
nova-flexible-contentsupport
- 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.jsonrequirements
- Added option groups support (see README.md)
- Updated packages
- Improve
nova-flexible-contentsupport
- 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,arrayetc) - Updated packages
- Updated packages
->options($options)method now accepts callable type
- Added option to overwrite the detail field value component (
NovaMultiselectDetailFieldValue)
- Added optional
singleSelectsupport 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_callablecall in ServiceProvider
- Fix values not displaying on DetailField (thanks to @CristianGiordano)
- Fix Composer crash due to incorrect capitalization of
Nova::translationsmethod call
- Fix
resolveResponseValuenot working withsaveAsJSON
- Added
saveAsJSONoption 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-gridby using better$refsfor 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