No Code Attached Yet
avatar Polm90
Polm90
14 Nov 2018

I have a multiple subform; in it there is a "Combo" field.

When I try to open the field list, it works only for the first instance; the other ones doesn't have the related event handler attached.

I use Joomla 3.9.0 (latest release)

Votes

# of Users Experiencing Issue
1/1
Average Importance Score
4.00

avatar Polm90 Polm90 - open - 14 Nov 2018
avatar joomla-cms-bot joomla-cms-bot - labeled - 14 Nov 2018
avatar franz-wohlkoenig franz-wohlkoenig - change - 4 Mar 2019
Status New Information Required
avatar ghost
ghost - comment - 4 Mar 2019

can you please test on latest Release 3.9.3


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/23077.

avatar franz-wohlkoenig franz-wohlkoenig - change - 16 Mar 2019
Status Information Required Closed
Closed_Date 0000-00-00 00:00:00 2019-03-16 07:02:47
Closed_By franz-wohlkoenig
avatar joomla-cms-bot joomla-cms-bot - change - 16 Mar 2019
Closed_By franz-wohlkoenig joomla-cms-bot
avatar joomla-cms-bot joomla-cms-bot - close - 16 Mar 2019
avatar joomla-cms-bot
joomla-cms-bot - comment - 16 Mar 2019

Set to "closed" on behalf of @franz-wohlkoenig by The JTracker Application at issues.joomla.org/joomla-cms/23077

avatar ghost
ghost - comment - 16 Mar 2019

Closed as no Answer, please reopen if needed.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/23077.

avatar andykirk
andykirk - comment - 1 Nov 2019

I'm experiencing this same problem on 3.9.11

Any fix for this?

Thanks

avatar Polm90
Polm90 - comment - 30 Jan 2020

The bug is still present in Joomla! 3.9.15 using the protostar default layout.

Form xml example:

<field name="test"
			   type="repeatable"
			   icon="list"
			   description="test_desc"
			   label="test_label"
			  >
			<fieldset hidden="true" name="repeatable_test" repeat="true">

				<field name="description"
					   label="description_label"
					   size="30"
					   type="combo">
					<option value="1">test 1</option>
					<option value="2">test 2</option>
				</field>
			</fieldset>
		</field>

This is the result:
image
Clicking on the "arrow icon" doesn't do anything (neither the first time).

Moreover, neither the combo field type with the multiple attribute actually works: it ignores the attribute.

XML example:

<field name="test_combo"
			   label="test_combo_label"
			   multiple="true"
			   size="30"
			   type="combo">
			<option value="1">test 1</option>
			<option value="2">test 2</option>
		</field>

Finally, using a combo field type inside a subform with multiple attribute, doesn't work: the first instance works properly, but the following ones don't (clicking the arrow doesn't open the option list).

XML example:

<field
				name="test_combo"
				multiple="true"
				type="subform"
				formsource="components/com_test/models/forms/subform.xml"
				label="test_combo_lbl"
				description="test_combo_desc"
				min="1"
				buttons="add,remove"
				required="true"
		/>

and in the subform.xml file:

<form>
	<fields>
		<field name="test_combo"
			   label="test_combo_label"
			   multiple="true"
			   size="30"
			   type="combo">
			<option value="1">test 1</option>
			<option value="2">test 2</option>
		</field>
	</fields>
</form>
avatar Polm90
Polm90 - comment - 30 Jan 2020

@joomla-cms-bot can you re-open?

avatar Polm90 Polm90 - change - 30 Jan 2020
Title
Joomla! 3.9.0 - Combo field in repeatable form
[UPDATE-BUG] Joomla! 3.9.15 - Combo field in repeatable form
avatar Polm90 Polm90 - edited - 30 Jan 2020
avatar Polm90 Polm90 - change - 30 Jan 2020
Title
[UPDATE-BUG] Joomla! 3.9.15 - Combo field in repeatable form
[UPDATE-BUG-STILL OPEN] Joomla! 3.9.15 - Combo field in repeatable form
avatar Polm90 Polm90 - edited - 30 Jan 2020
avatar tgv604
tgv604 - comment - 3 Feb 2020

No fix, apparently no one cares, but in the meantime you can put this js in your template

jQuery(document).ready(function($) {		
	$(document).on("subform-row-add", function(e, row) {
		$(row).find("div.combobox").ComboTransform();
        });		
});
avatar alikon alikon - change - 3 Feb 2020
Status Closed New
Closed_Date 2019-03-16 07:02:47
Closed_By joomla-cms-bot
avatar alikon alikon - reopen - 3 Feb 2020
avatar HLeithner
HLeithner - comment - 3 Feb 2020

It would really be great if @tgv604 can make a proper PR we could test, merge and finally fix this bug.

thx

avatar Polm90
Polm90 - comment - 3 Feb 2020

No fix, apparently no one cares, but in the meantime you can put this js in your template

jQuery(document).ready(function($) {		
	$(document).on("subform-row-add", function(e, row) {
		$(row).find("div.combobox").ComboTransform();
        });		
});

Thank you, it works with this fix!

avatar brianteeman
brianteeman - comment - 25 Aug 2022

Thank you for raising this issue.

Joomla 3 is now in security only mode with no further bug fixes or new features.

As this issue doesn't relate to Joomla 4 it will now been closed.

If we are mistaken and this does apply to Joomla 4 please open a new issue (and reference this one if you wish) with updated details for testing in Joomla 4.
cc @zero-24

avatar alikon alikon - change - 26 Aug 2022
Status New Closed
Closed_Date 0000-00-00 00:00:00 2022-08-26 06:23:05
Closed_By alikon
Labels Added: No Code Attached Yet
Removed: ?
avatar alikon alikon - close - 26 Aug 2022

Add a Comment

Login with GitHub to post a comment