As an editor, i would like to be able to add commons media to statements
A/C
- Once a valid property for commons media is selected, the lookup appears and becomes active - the menu items have media thumbnails and labels
- In the case of commons media, it is mandatory to pick something from the Lookup.
- Because of this: inside the lookup, the menu should have the title option activated. Title: "Select an option".
- Reuse the logic in T408928: [MEX] M3 - Create error handling for incorrectly filled and unfilled fields that are out of focus :
- Should the user enter text in the field, and not make a selection of a picture and then leave the field with only text inside, activate error state
- Should the user visit the field, and leave without making a selection: error state
- If the user selects an image, the publish button becomes active.
- Datatypes enabled
- Tests!
The way images appear on the main statement page / display page has already been developed, i added it just for reference.
(!) Missing components names and error state visuals

