Current behavior:
- I have a form element being a multiple list (checkbox/multiple selectbox)
- I select several default values
- I change its type to a simple list (radio button/selectbox)
--> The default values are kept, I can't submit my artifacts in modal when I don't edit my field { code: 400, message: "Bad Request: Selectbox fields can only have one value" }
Proposition:
- First of all, it should not be possible to select more than one value when the field is a simple list. Let's display a simple selectbox to select the default value
- Secondly, we should clear the default values when the type change from "multiple" to "simple".