Skip to content

Commit

Permalink
Merge pull request #511 from creative-commoners/pulls/5/template-scalars
Browse files Browse the repository at this point in the history
DOC Convert primitves to DBField in iterables
  • Loading branch information
GuySartorelli committed May 15, 2024
2 parents b2faf51 + aadcbbc commit f8f7900
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions en/08_Changelogs/5.3.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ This is particularly helpful if you need to update columns in one table to match
- `silverstripe/linkfield` now has improved accessibility support for screen readers and keyboard navigation. Focus states have also been made consistent between keyboard and mouse interaction.
- `silverstripe/graphql-devtools` contains a new `GraphQLSchemaInitTask` to help you initialise a basic GraphQL schema.
- [`GridFieldDetailForm_ItemRequest`](api:SilverStripe\Forms\GridField\GridFieldDetailForm_ItemRequest) now uses a [`PjaxResponseNegotiator`](api:SilverStripe\Control\PjaxResponseNegotiator) to handle PJAX responses for the save and publish actions. This aligns it with responses from other form submissions in the CMS.
- Primitive types inside an iterable object will now be automatically converted to relevant [`DBField`](api:SilverStripe\ORM\FieldType\DBField) types so can be rendered in a template. This allows the use of `return ArrayList::create(['lorem', 123]);` from a [`ContentController`](api:SilverStripe\CMS\Controllers\ContentController) method that is then looped over in a template.

## Bug fixes

Expand Down

0 comments on commit f8f7900

Please sign in to comment.