Blog

APSL posts, news and events

UX improvement on collapsed Streamfield section

Introduction

In Wagtail a Streamfield is a field that allows us to represent a sequence of structures called “blocks”. When creating and using them the blocks are customisable, recyclable and flexible. The blocks can be either native Wagtail fields or new structures created ad-hoc.

One of the Streamfield attributes is "collapsed" which if it has the value True, when accessing the page, the sections belonging to the Streamfield …

Jan. 2, 2023 · 2 min read