Description
Issue: Sections can't be empty
Description
We have encountered an issue where it is possible to create a lingo with no sections. This should be prevented on the setup form to ensure proper organization and structure of the lingo.
Steps to reproduce
- Go to the setup form for creating a new lingo.
- Leave the sections field empty.
- Click on the "Create" button to save the lingo.
Impact
Creating a lingo without any sections can lead to confusion and disorganization. It becomes difficult to categorize and manage the content effectively. This issue affects the overall usability and user experience of the application.
Location
The issue occurs on the setup form for creating a new lingo.
Expected behaviour
When attempting to create a new lingo, if the sections field is left empty, the application should display an error message and prevent the lingo from being created until at least one section is specified. This ensures that all lingos have a proper structure and organization.