Unable to remove individual values in multi-value AI Audio fields

Created on 26 April 2025, about 1 month ago

Problem/Motivation

When using the AI Audio Field module with multiple values enabled, there is no UI mechanism to remove individual field values when editing content.

Steps to reproduce

Install the AI Audio Field module
Create a content type with an AI Audio field that allows multiple values
Create a node with this content type and add multiple audio values to the field
Edit the node and try to remove one of the audio values

Current behavior
There is no "Remove" button or other UI element to remove individual field values. Users are forced to either keep all values or delete and re-add all values.

Expected behavior
Each field value should have a "Remove" button similar to other multi-value fields in Drupal, allowing users to remove individual values without affecting others.

Proposed solution
Add a "Remove" button to each field item in multi-value fields, with proper AJAX handling to update the form state when an item is removed.

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇰🇬Kyrgyzstan dan_metille

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

Comments & Activities

Production build 0.71.5 2024