Describe the bug
When editing the default texts, the frontend by default selects the afval/asbest-accu category. This results in an error on instances where this category does not exist:
I've taken a quick look at it, hoping it would be an easy fix. But redux and especially the form make it overly complicated and haven't been able to fix it yet. Moving on to higher priority story for now.
Describe the bug When editing the default texts, the frontend by default selects the afval/asbest-accu category. This results in an error on instances where this category does not exist:
https://github.com/Amsterdam/signals-frontend/blob/d193eb7580c74caf8f1712d381178ebe741673f5/src/signals/incident-management/containers/DefaultTextsAdmin/components/SelectForm/index.js#L14-L19
To Reproduce Steps to reproduce the behavior:
Expected behavior The system shows no category by default or retrieves the first subcategory in the list
Screenshots