Pimcore version
11.3.0
Steps to reproduce
- Create a Select/Multiselect field in a class with options "A", "B", and "C".
- Create an object via the PHP API (e.g., a command) and set its value to "D".
Actual Behavior
Pimcore accepts this value and saves it in the object.
Expected Behavior
Pimcore should throw a ValidationException.