No Code Attached Yet
avatar fuscage
fuscage
18 Sep 2024

Steps to reproduce the issue

Go to the /administrator/components/com_content/forms/article.xml file
Go the field state
Replace the type list to type="groupedlist"
Add group like this :

<field
			name="state"
	type="groupedlist"
			label="JSTATUS"
			class="form-select-color-state"
			default="1"
			validate="options"
			>
	<group label="GRP1">
				<option value="1">JPUBLISHED</option>
				<option value="0">JUNPUBLISHED</option>
	</group>
	<group label="GRP2">
				<option value="2">JARCHIVED</option>
				<option value="-2">JTRASHED</option>
	</group>
</field>

Result will be :
image

Try to save a content

Expected result

Save the content without error/warning

Actual result

warning : Champ invalide: Statut

image

System information (as much as possible)

joomla 4.4.6

Additional comments

avatar fuscage fuscage - open - 18 Sep 2024
avatar joomla-cms-bot joomla-cms-bot - change - 18 Sep 2024
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 18 Sep 2024
avatar fuscage fuscage - change - 18 Sep 2024
The description was changed
avatar fuscage fuscage - edited - 18 Sep 2024
avatar fuscage fuscage - change - 18 Sep 2024
The description was changed
avatar fuscage fuscage - edited - 18 Sep 2024
avatar fuscage fuscage - change - 18 Sep 2024
The description was changed
avatar fuscage fuscage - edited - 18 Sep 2024

Add a Comment

Login with GitHub to post a comment