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
nova-froala-field
incompatibility since1.7.0
- Fixed an issue when
rulesFor
second parameter was given as a string
- Added a new vue component for
LocaleTabs
->nova-translatable-locale-tabs
- Added
nova-simple-repeatable
support
- Simplified
fill
method, removed duplicate code.
- Fixed PHP 8 support (thanks to @manogi)
- Updated packages
- Updated packages
- Added support for Slug field
- Added support for
->default
values
- Changed
rulesFor
mixin to allow passingarray|callable|string
variables - Fixed
formatRules
to include->rules()
in locale specific rules.
- Fix Textarea crashing inside Flexible
- Allow original
resolveCallback
to be called - Fix Textarea not rendering locale tabs when using
displayUsing
- Fixed missing values after
resolve
- Updated packages
- Further improved compatibility with wrapper fields
- Further improved compatibility with wrapper fields
- Improved compatibility with wrapper fields
- Updated packages
- Updated packages
- Fixed help text not being displayed
- Updated packages
- Fixed Textarea field crashing inside Flexible
- Add
rulesFor
functionality to allow specifying locale specific validation rules (thanks to @ngiraud)
- Code cleanup
- Fixed
displayUsing
not working - Updated packages
- Hide locale tabs when there is only one locale (thanks to @manogi)
- Fix error messages not showing (thanks to @webstack9)
- Updated packages
- Fixed issue with Nova Flexible Content (thanks to @voidgraphics)
- Fixed JS runtime error (thanks to @milewski)
- Fixed Textarea when not using
spatie/laravel-translatable
(thanks to @milewski) - Fixed issue with packages that populate more than 1 attribute on
FormData
(thanks to @milewski)
- Fixed PHP 7.3 compatibility
- Fixed
is_nan
errors
- Fixed
is_nan
errors
- Added
Nova 3.3.1
support - Fixed
Select
field not working - Fixed
displayUsingLabels()
not working - Fixed
Boolean
field not working
- Support Nova 3.0 in
composer.json
requirements
- Supported array value fields in Flexible
- Fixed issue with error messages not being displayed (thanks to @srinathreddydudi)
- Further improved array value support
- Refactored code
- Improved key handling w/ array value support
- Improved validation and fields support
- Fixed invalid attribute issue with
nova-flexible-content
in some scenarios - Updated packages
- Added support for use inside
nova-flexible-content
(except Image and File fields) - Added warning about Image and File fields inside
nova-flexible-content
- Refactored code for better readability, compatibility and performance
- Added support for
KeyValue
field (thanks to @ngiraud)
- Set first (active) locale to Nova's configured locale (thanks to @ngiraud)
- Moved macro registration from
boot()
toregister()
method to better support third-party packages - Updated packages
- Added
method_exists
validation forsetTranslations
to support making fields innova-settings
translatable
- Fixed crash when saving w/ validation
- Initial validation support
- Improved support for 3rd party packages (ie
nova-settings
) - Can now be used outside
Resource
's - Updated packages
- Attribute names end with
.${locale}
(iename.sv
) which makes them difficult to translate (in errors)- This may not be fixable at all unless Laravel adds more flexibility to the Validator
Initial release.
- Supports almost all fields (including third party ones)
- Simple to implement with minimal code changes (after
spatie/laravel-translatable
support) - Locale tabs to switch between different locale values of the same field
- Double click on a tab to switch all fields to that locale