[BUG]: Cannot remove a module from component #1234

Closed
opened 2025-07-21 19:51:24 +00:00 by ConfidantCommunications · 2 comments

What Happened?

I added a module to a component and saved it. The red "minus" button does not function to remove the module when I re-open the component.

Steps to reproduce the Bug

  1. Add a module to a component, save and close.
  2. Edit the component again and attempt to remove the module using the minus button.
  3. The only way to remove it is to add a new blank module and then click the minus button from the first one. Then Save and Close.

Which Joomla version are you compiling in?

5.3.2

Which PHP version are you compiling in?

8.2.23

Which Joomla versions are you targeting?

5

Which PHP version are you targeting?

8.2.23

Which Web server is JCB running on?

Joomla Docker image. Apache 2

Which Relational Database is JCB running on?

mysqlnd 8.2.23

Which OS is JCB running on?

Alpine linux

Which JCB version are you using?

5.1.1

Where in JCB did this issue occur?

Other

On which browsers did you encounter the issue?

Chrome

Additional Comments

No response

### What Happened? I added a module to a component and saved it. The red "minus" button does not function to remove the module when I re-open the component. ### Steps to reproduce the Bug 1. Add a module to a component, save and close. 2. Edit the component again and attempt to remove the module using the minus button. 3. The only way to remove it is to add a new blank module and then click the minus button from the first one. Then Save and Close. ### Which Joomla version are you compiling in? 5.3.2 ### Which PHP version are you compiling in? 8.2.23 ### Which Joomla versions are you targeting? 5 ### Which PHP version are you targeting? 8.2.23 ### Which Web server is JCB running on? Joomla Docker image. Apache 2 ### Which Relational Database is JCB running on? mysqlnd 8.2.23 ### Which OS is JCB running on? Alpine linux ### Which JCB version are you using? 5.1.1 ### Where in JCB did this issue occur? Other ### On which browsers did you encounter the issue? Chrome ### Additional Comments _No response_
ConfidantCommunications added the
Bug
label 2025-07-21 19:51:24 +00:00
Member

This is not a bug - it's simply how the subform is designed that adds modules to a component.

If you want to remove all modules linked to your component, the minus button should work to remove all until the last one. For the final module, select the Select a module option. This will leave the component with no modules linked.

Please Note: It is highly recommended to use Firefox when building with JCB. Since JCB is built and tested in Firefox we have found that when using Chrome we sometimes run into unexpected behavior.

This is not a bug - it's simply how the subform is designed that adds modules to a component. If you want to remove all modules linked to your component, the minus button should work to remove all until the last one. For the final module, select the `Select a module` option. This will leave the component with no modules linked. **Please Note:** It is highly recommended to use Firefox when building with JCB. Since JCB is built and tested in Firefox we have found that when using Chrome we sometimes run into unexpected behavior.

Doing that. Yay Firefox!

Doing that. Yay Firefox!
Sign in to join this conversation.
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: joomla/Component-Builder#1234
No description provided.