In media browser the selected items loses the checked class after submission, ex:

We have media field with only one element allowed to be selected, if the user selected 2 elements then submitted the media browser form it will display an error "Only 1 item allowed" and the selected items will stay selected without having the checked class.

User will not be able to know which items are still selected to reset them unless he reloaded the page.

Comments

mqanneh created an issue. See original summary.

  • mqanneh committed 66a3890 on 8.x-4.x
    Issue #2950929 by mqanneh: Media browser: selected items loses selected...
mqanneh’s picture

Title: Media browser: selected items loses selected class after submission » Media browser: selected items lose "checked" class after submission
Assigned: mqanneh » Unassigned
Status: Active » Fixed

Media browser: selected items lose "checked" class after submission.

mqanneh’s picture

Status: Fixed » Closed (fixed)