[BUG]: Add Custom Class Header button not working. #1207

Open
opened 2025-02-16 02:56:56 +00:00 by oxido · 0 comments

What Happened?

When I try to create a plugin, after I select any option from the Extends (dropdown), if I switch the "Add Custom Class Header" button to Yes, nothing is added to the field of "Class Header".

Another strange behavior affecting the "Properties & Methods" textarea is when you change any value in "Extends (dropdown)" or in "Joomla Plugin Group (dropdown)", if you do so, any content from this area is removed.

Steps to reproduce the Bug

Open JCB Dashboard - Joomla Plugins and create a new plugin.

Problema A

  1. Select any option from the Extends dropdown.
  2. Switch the Add Custom Class Header to Yes
    Result: Nothing will be added to Class Header textarea.

Problem B

  1. Add some random text to Properties & Methods textarea.
  2. Slect any option from Extends (dropdown) or any (not gray) values from Joomla Plugin Group (dropdown).
    Result: The content from Properties & Methods textarea will be removed.

Which Joomla version are you compiling in?

5.1.4

Which PHP version are you compiling in?

8.2

Which Joomla versions are you targeting?

5.1

Which PHP version are you targeting?

8.1

Which Web server is JCB running on?

Apache/2.4.62 (Debian)

Which Relational Database is JCB running on?

Mysql 11.6.2-MariaDB-ubu2404

Which OS is JCB running on?

Ubuntu

Which JCB version are you using?

V5.1.0

Where in JCB did this issue occur?

No response

On which browsers did you encounter the issue?

No response

Additional Comments

No response

### What Happened? When I try to create a plugin, after I select any option from the Extends (dropdown), if I switch the "Add Custom Class Header" button to Yes, nothing is added to the field of "Class Header". Another strange behavior affecting the "Properties & Methods" textarea is when you change any value in "Extends (dropdown)" or in "Joomla Plugin Group (dropdown)", if you do so, any content from this area is removed. ### Steps to reproduce the Bug Open JCB Dashboard - Joomla Plugins and create a new plugin. Problema A 1. Select any option from the Extends dropdown. 2. Switch the Add Custom Class Header to Yes Result: Nothing will be added to Class Header textarea. Problem B 1. Add some random text to Properties & Methods textarea. 2. Slect any option from Extends (dropdown) or any (not gray) values from Joomla Plugin Group (dropdown). Result: The content from Properties & Methods textarea will be removed. ### Which Joomla version are you compiling in? 5.1.4 ### Which PHP version are you compiling in? 8.2 ### Which Joomla versions are you targeting? 5.1 ### Which PHP version are you targeting? 8.1 ### Which Web server is JCB running on? Apache/2.4.62 (Debian) ### Which Relational Database is JCB running on? Mysql 11.6.2-MariaDB-ubu2404 ### Which OS is JCB running on? Ubuntu ### Which JCB version are you using? V5.1.0 ### Where in JCB did this issue occur? _No response_ ### On which browsers did you encounter the issue? _No response_ ### Additional Comments _No response_
oxido added the
Bug
label 2025-02-16 02:56:56 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

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