Releases: whitecube/nova-flexible-content
Releases · whitecube/nova-flexible-content
Bug fixes
New Features & Bug Fixes
New Features & Improvements
- Validation. Yup. It's all covered :
- Flexible fields are now validated as arrays, meaning rules such as
min:2
,max:5
, ... are now working as expected - The rules of fields defined inside the Flexible's layouts are now also executed and their validation errors are correctly displayed. Validation is even working in nested Flexible fields.
- Flexible fields are now validated as arrays, meaning rules such as
- Layouts can now show a confirmation prompt before deleting - #43
- Flexible fields are now hidden on Index pages by default. No need to call
hideFromIndex()
every time anymore! - Layouts are now implementing
ArrayAccess
like Models. - You can now specify a maximum number of layouts
Bug fixes
- Flexible fields now display their values correctly in Form and Detail views.
- Layouts without title (which could be the case when using the field as a simple repeatable field) do not display an empty title element in Nova's UI ;
- Applying
rules(['required'])
on a Flexible Field will now work as expected when no layouts have been added ; - DateTime fields should not throw an exception anymore when resolving or updating their value (take a look at #14 for more information).
- Value resolver now can handle collections - #49
Fixed compatibility with some packages
See #38 for details
Fixed nested Flexible fields in Nova 2.0.5
v0.1.6 Merge branch 'master' of github.com:whitecube/nova-flexible-content
Fixed nested Flexible fields in Nova 2.0.3
v0.1.5 Fixed nested flexible fields in Nova 2.0.3
Fixed nested file fields on resource update
- Fixed #9 (File fields are not emptied anymore when updating the resource)
- Enhanced field resolving perfs
Fixed nested file fields
Bug fixes
v0.1.2 Fixed group values persistance after group key change
Nested complex fields support & bug fixes
- Flexible fields can now be nested ;
- Complex fields (returning serializable data) are now supported in Flexible Layouts as long as they do not
json_encode
their data ; - A few bug fixes (better unique key generation for Flexible values).
First official release
Laravel Nova Flexible Content for Laravel 5.7 and Nova <2.0.