- π¬π§United Kingdom scott_euser
I wonder if the modal should actually have a Cancel button to avoid this.
I also noticed that if you do this:
- Create node bundle with required media field, e.g. 'Featured image'
Then when inserting new:
- Open media library for 'Featured image'
- Change mind and decide to do later, so click 'Insert selected' to close
- Add title, body, etc
- Select a 'Featured image' this time from Media Library
- Save node
Then message is shown 'No items selected' (as well as successfully creating the Node) as it seems the media library 'cancel' did not trigger a form refresh, so the 'No items selected' stayed in the messenger queue even though a Media Library selection was actually made in step 4 above.
So I think possible solutions here:
- Ensure that an effective 'Cancel' still triggers form refresh so 'No items selected' message is shown at appropriate time
- Avoid showing 'No items selected' validation until full node save; ie, skip validation in the subform and only apply at form level
- Provide a Cancel button
(on decision, update issue summary with standard template + proposed solution)