github whitecube/nova-flexible-content v0.1.8
New Features & Bug Fixes

latest releases: v1.1.1, v1.1.0, v1.0.14...
5 years ago

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.
  • 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

Don't miss a new nova-flexible-content release

NewReleases is sending notifications on new releases.