Describe the bug
Currently, it is possible to assign a signal/ticket to a user (e-mailadres) without an assigned department.
The correct order is to first select the correct categorie, secondly the department and thirdly the user.
However, step 2 can be skipped and should be mandatory before selecting a user.
As a result many filters do not work correctly since a signal/ticket is assigned to an employee but not assigned to a department.
To Reproduce
Steps to reproduce the behavior:
Open a signal/ticket
Click on the pencil to change the categorie (one with multiple departments)
Skip the department and click on the pencil next to "Toegewezen aan" to select a user.
Click on "Opslaan"
The signal/ticket has been saved without an assigned department.
Expected behavior
The pencil behind "Toegewezen aan" should be grayed out/unavailable until a department is selected.
Or, an error is expected that there should be a department assigned before you can assign a ticket/signal to a user.
Screenshots
Desktop (please complete the following information):
Describe the bug Currently, it is possible to assign a signal/ticket to a user (e-mailadres) without an assigned department. The correct order is to first select the correct categorie, secondly the department and thirdly the user. However, step 2 can be skipped and should be mandatory before selecting a user. As a result many filters do not work correctly since a signal/ticket is assigned to an employee but not assigned to a department.
To Reproduce Steps to reproduce the behavior:
Expected behavior The pencil behind "Toegewezen aan" should be grayed out/unavailable until a department is selected. Or, an error is expected that there should be a department assigned before you can assign a ticket/signal to a user.
Screenshots
Desktop (please complete the following information):