You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Normally, a single "Deselect all" link is added below each multiselect field to allow quick and easy clearing on multiple items. however, this link gets duplicated multiple times below each field when a nested table is updated on the same form view.
It looks like Fae.form.select.init(); is called after a nested form update which in turn calls multiselectOrChosen which is where the deselect button is added to chosen via $deselect_all_action.insertAfter($chosen);
The text was updated successfully, but these errors were encountered:
A temporary fix to remove the duplicate deselect links is to add a function that does something like this into your fae.js: $('.select').find('.multiselect-action_wrap:not(:first)').remove()
Normally, a single "Deselect all" link is added below each multiselect field to allow quick and easy clearing on multiple items. however, this link gets duplicated multiple times below each field when a nested table is updated on the same form view.
It looks like
Fae.form.select.init();
is called after a nested form update which in turn callsmultiselectOrChosen
which is where the deselect button is added to chosen via$deselect_all_action.insertAfter($chosen);
The text was updated successfully, but these errors were encountered: