Compact UI submit button is slow and does not disable itself on click, making it possible to create duplicate media

Created on 19 January 2022, about 3 years ago
Updated 10 January 2025, 10 days ago

Problem/Motivation

It is easy for editors to accidentally create duplicate media entities using the Bynder compact UI. The "Add asset" button is slow to respond and does not disable itself when the user clicks, so editors can be confused into thinking they need to click it again, while things are working in the background. This results in multiple Bynder entities being created for the same asset.

GIF screencast showing issue

Steps to reproduce

Select an asset with the Compact UI, click the "Add asset" button, confirm the button shows an ajax load, but then goes back to "Add asset" and is clickable again before the browser submits.

Proposed resolution

Disable the "Add asset" button until the form is complete.

Remaining tasks

User interface changes

API changes

None expected

Data model changes

None expected

πŸ› Bug report
Status

Active

Version

4.0

Component

User interface

Created by

πŸ‡ΊπŸ‡ΈUnited States dave reid Nebraska USA

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024