?
avatar Polm90
Polm90
30 Jan 2020

I'm using Joomla! 3.9.15 with 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 - open - 30 Jan 2020
avatar joomla-cms-bot joomla-cms-bot - change - 30 Jan 2020
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 30 Jan 2020
avatar Polm90 Polm90 - change - 30 Jan 2020
Title
Multiple combo field (Joomla 3.9.15]
Multiple combo field [Joomla 3.9.15]
avatar Polm90 Polm90 - edited - 30 Jan 2020
avatar SharkyKZ SharkyKZ - change - 4 Feb 2020
Status New Closed
Closed_Date 0000-00-00 00:00:00 2020-02-04 07:42:47
Closed_By SharkyKZ
Rel_Number 0 23077
Relation Type Duplicate of
avatar joomla-cms-bot joomla-cms-bot - change - 4 Feb 2020
Closed_By SharkyKZ joomla-cms-bot
Rel_Number 23077 0
Relation Type Duplicate of
avatar joomla-cms-bot joomla-cms-bot - close - 4 Feb 2020
avatar joomla-cms-bot
joomla-cms-bot - comment - 4 Feb 2020

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

avatar SharkyKZ
SharkyKZ - comment - 4 Feb 2020

Closing as duplicate #23077.


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

Add a Comment

Login with GitHub to post a comment