Skip to content

Commit

Permalink
DOC Add elemental block validation to 5.3.0 changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
emteknetnz committed Mar 4, 2024
1 parent aa9ef53 commit 18a6be6
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions en/08_Changelogs/5.3.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
title: 5.3.0 (unreleased)
---

# 5.3.0 (unreleased)

## Overview

- [Features and enhancements](#features-and-enhancements)
- [Validation for elemental content blocks when saving individual blocks](#elemental-validation)
- [Bug fixes](#bug-fixes)

## Features and enhancements

### Validation for elemental content blocks when saving individual blocks {#elemental-validation}

Elemental content blocks now supports validation when saving or publishing individual content blocks using the "three-dot" context menu in the top-right of the block.

Validation can be added to a content block using standard [Model Validation and Constraints](https://docs.silverstripe.org/en/5/developer_guides/model/validation/#validation-and-constraints) by implementing a `validate()` method on a content block, or by using [Form Validation](https://docs.silverstripe.org/en/5/developer_guides/forms/validation/#form-validation) where there are several options available.

## Bug fixes

This release includes a number of bug fixes to improve a broad range of areas. Check the change logs for full details of these fixes split by module. Thank you to the community members that helped contribute these fixes as part of the release!

<!--- Changes below this line will be automatically regenerated -->

<!--- Changes above this line will be automatically regenerated -->

0 comments on commit 18a6be6

Please sign in to comment.